summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorMarkus Elfring2016-07-29 00:48:59 +0200
committerLinus Torvalds2016-07-29 01:07:41 +0200
commitc3491eca37fe1e333c7daf48f00df1efadc71b0b (patch)
treee5944282a6c23cfa46059389130597f486df6cc2 /mm/mmap.c
parentmm/memblock.c: fix index adjustment error in __next_mem_range_rev() (diff)
downloadkernel-qcow2-linux-c3491eca37fe1e333c7daf48f00df1efadc71b0b.tar.gz
kernel-qcow2-linux-c3491eca37fe1e333c7daf48f00df1efadc71b0b.tar.xz
kernel-qcow2-linux-c3491eca37fe1e333c7daf48f00df1efadc71b0b.zip
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://lkml.kernel.org/r/559cf499-4a01-25f9-c87f-24d906626a57@users.sourceforge.net Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions