aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2016-07-28 15:48:59 -0700
committerLinus Torvalds <[email protected]>2016-07-28 16:07:41 -0700
commitc3491eca37fe1e333c7daf48f00df1efadc71b0b (patch)
treee5944282a6c23cfa46059389130597f486df6cc2 /scripts/gdb/linux
parentfb399b4854d2159a4d23fbfbd7daaed914fd54fa (diff)
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/[email protected] Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Acked-by: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions