diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-11-16 16:46:28 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-11-20 00:28:45 +0300 |
commit | 16a8ef2751801346f1f76a18685b2beb63cd170f (patch) | |
tree | c4aefdf905357019c9d100d1af7bea7d64d8e36e /kernel/trace/trace_functions.c | |
parent | 8e2e095cbecad21078332cd83ae7e61ecfe12c59 (diff) | |
download | linux-16a8ef2751801346f1f76a18685b2beb63cd170f.tar.xz |
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>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions