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:
2e60d76
)
GFS2: Deletion of unnecessary checks before two function calls
author
Markus Elfring
<elfring@users.sourceforge.net>
Tue, 18 Nov 2014 10:31:23 +0000
(11:31 +0100)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Tue, 18 Nov 2014 10:57:58 +0000
(10:57 +0000)
The functions iput() and put_pid() test whether their argument is NULL
and then return immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
No differences found