tracing: Deletion of an unnecessary check before iput()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 16 Nov 2014 13:46:28 +0000 (14:46 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Nov 2014 21:28:45 +0000 (16:28 -0500)
commit16a8ef2751801346f1f76a18685b2beb63cd170f
treec4aefdf905357019c9d100d1af7bea7d64d8e36e
parent8e2e095cbecad21078332cd83ae7e61ecfe12c59
tracing: Deletion of an unnecessary check before iput()

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.

Link: http://lkml.kernel.org/r/5468F875.7080907@users.sourceforge.net
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_uprobe.c