summaryrefslogtreecommitdiffstats
path: root/kernel/trace/seq_buf.c
diff options
context:
space:
mode:
authorMarkus Elfring2014-11-16 14:46:28 +0100
committerSteven Rostedt2014-11-19 22:28:45 +0100
commit16a8ef2751801346f1f76a18685b2beb63cd170f (patch)
treec4aefdf905357019c9d100d1af7bea7d64d8e36e /kernel/trace/seq_buf.c
parenttracing: Fix return value of ftrace_raw_output_prep() (diff)
downloadkernel-qcow2-linux-16a8ef2751801346f1f76a18685b2beb63cd170f.tar.gz
kernel-qcow2-linux-16a8ef2751801346f1f76a18685b2beb63cd170f.tar.xz
kernel-qcow2-linux-16a8ef2751801346f1f76a18685b2beb63cd170f.zip
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/seq_buf.c')
0 files changed, 0 insertions, 0 deletions