diff options
author | 2014-11-18 11:31:23 +0100 | |
---|---|---|
committer | 2014-11-18 10:57:58 +0000 | |
commit | 30badc9543490f41497c42f004db02f1e8a29341 (patch) | |
tree | dc35b07393d753b2b7b51d7c3a6769ac9c44e47f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | GFS2: update freeze code to use freeze/thaw_super on all nodes (diff) | |
download | wireguard-linux-30badc9543490f41497c42f004db02f1e8a29341.tar.xz wireguard-linux-30badc9543490f41497c42f004db02f1e8a29341.zip |
GFS2: Deletion of unnecessary checks before two function calls
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions