summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/malloc.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-03-02 13:00:55 +0300
committerEduardo Valentin <edubezval@gmail.com>2016-03-08 11:57:37 -0800
commit13369194256a95c5fd63472b0f5abcfd58a284c1 (patch)
tree9d68d727a49dc7225af6013d925fa8c1400c1767 /fs/ntfs/malloc.h
parent8255e4e2376189c497cb722fd6aea36b540f7125 (diff)
downloadlinux-13369194256a95c5fd63472b0f5abcfd58a284c1.tar.bz2
thermal: ti-soc-thermal: clean up the error handling a bit
We don't need to initialize "ret". We can move the IS_ERR() checks into the if condition instead of doing an assignment first. Also there is a check for "ret" when we know it is zero so we can remove that. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'fs/ntfs/malloc.h')
0 files changed, 0 insertions, 0 deletions