ceph: delete an unnecessary return statement in update_dentry_lease()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 20 Aug 2017 18:08:25 +0000 (20:08 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:51 +0000 (19:56 +0200)
commitb529d1b382f77ec6221f9c5fffb17939e92629e4
tree5f577dc14bef0b4904088dc23e0093a54ad671f7
parent51308806ff09eadc41726380891a393042919dd2
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>
fs/ceph/inode.c