tracing: Deletion of an unnecessary check before iput()

commit 16a8ef2751 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Markus Elfring 2014-11-16 14:46:28 +01:00 • committed by Ben Hutchings
commit 3ebb4e8bf6