Tag: 54bcfdf19ec7c2f2788fa76426c91abdc4dab973

UBIFS: Delete unnecessary checks before the function call “iput”

Author: Markus Elfring <elfring@users.sourceforge.net> The iput() function 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 Signed-off-by: Richard Weinberger — fs/ubifs/recovery.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff …

Continue reading