summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2020-04-08 16:57:25 -0600
committerBin Meng <[email protected]>2020-04-16 14:36:28 +0800
commit88307654af35fd550324fc1d8504db0da7225950 (patch)
tree1727529c41ef6c56a05a81bce48104277756e95d /include/linux/string.h
parent32e8ee004a3dad1a9cc06bd3ac44d8ba562afc3e (diff)
tpm: Don't cleanup unless an error happens
At present the cleanup() method is called on every transfer. It should only be called on failing transfers. Fix this and tidy up the error handling a little. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions