From: Markus Elfring Date: Sun, 20 Aug 2017 18:08:25 +0000 (+0200) Subject: ceph: delete an unnecessary return statement in update_dentry_lease() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b529d1b382f77ec6221f9c5fffb17939e92629e4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Yan, Zheng Signed-off-by: Ilya Dryomov --- 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; } /*