git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e2e095
)
tracing: Deletion of an unnecessary check before iput()
author
Markus Elfring
<elfring@users.sourceforge.net>
Sun, 16 Nov 2014 13:46:28 +0000
(14:46 +0100)
committer
Steven Rostedt
<rostedt@goodmis.org>
Wed, 19 Nov 2014 21:28:45 +0000
(16:28 -0500)
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>
No differences found