summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSF Markus Elfring <elfring@users.sourceforge.net>2014-11-02 15:20:59 +0100
committerIlya Dryomov <idryomov@redhat.com>2014-12-17 18:09:50 +0100
commite96a650a8174e20112b400e72e0b2429aa66de20 (patch)
tree44fa588afe9ee1b9504016e012c3dcffb184b87b /net
parentceph: introduce a new inode flag indicating if cached dentries are ordered (diff)
downloadlinux-e96a650a8174e20112b400e72e0b2429aa66de20.tar.xz
linux-e96a650a8174e20112b400e72e0b2429aa66de20.zip
ceph, rbd: delete unnecessary checks before two function calls
The functions ceph_put_snap_context() and iput() 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> [idryomov@redhat.com: squashed rbd.c hunk, changelog] Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions