Commit c3491eca authored by Committed by Linus Torvalds
zsmalloc: Delete an unnecessary check before the function call "iput"
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. Link: http://email@example.comSigned-off-by: Markus Elfring <firstname.lastname@example.org> Reviewed-by: Sergey Senozhatsky <email@example.com> Acked-by: Minchan Kim <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 1 addition and 2 deletions