diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-08-20 20:08:25 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-09-06 19:56:51 +0200 |
commit | b529d1b382f77ec6221f9c5fffb17939e92629e4 (patch) | |
tree | 5f577dc14bef0b4904088dc23e0093a54ad671f7 /fs/ceph/inode.c | |
parent | 51308806ff09eadc41726380891a393042919dd2 (diff) | |
download | lwn-b529d1b382f77ec6221f9c5fffb17939e92629e4.tar.gz lwn-b529d1b382f77ec6221f9c5fffb17939e92629e4.zip |
ceph: delete an unnecessary return statement in update_dentry_lease()
The script "checkpatch.pl" pointed information out like the following.
WARNING: void function return statements are not generally useful
Thus remove such a statement in the affected function.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r-- | fs/ceph/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 087d9ea3a153..277c7cd7b1ab 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -1067,7 +1067,6 @@ out_unlock: spin_unlock(&dentry->d_lock); if (old_lease_session) ceph_put_mds_session(old_lease_session); - return; } /* |