projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5130880
)
ceph: delete an unnecessary return statement in update_dentry_lease()
author
Markus Elfring
<elfring@users.sourceforge.net>
Sun, 20 Aug 2017 18:08:25 +0000
(20:08 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:51 +0000
(19:56 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/inode.c
b/fs/ceph/inode.c
index 087d9ea3a15324f29375e178f7b99f22cbcd126f..277c7cd7b1abe505483d0980516a0980e0f861bb 100644
(file)
--- 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;
}
/*