Tag: 917520e100e1db5e8dd546dd94fef070a31652a5

ntfs: delete unnecessary checks before calling iput()

Author: SF Markus Elfring <elfring@users.sourceforge.net> iput() tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Cc: Julia Lawall Reviewed-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — fs/ntfs/super.c | 21 +++++++————– 1 …

Continue reading