projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b19a8b3
)
afs: Remove erroneous fallthough annotation
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 26 Aug 2020 11:32:14 +0000
(14:32 +0300)
committer
Gustavo A. R. Silva
<gustavoars@kernel.org>
Thu, 27 Aug 2020 19:33:01 +0000
(14:33 -0500)
The fall through annotation comes after a return statement so it's not
reachable.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
fs/afs/flock.c
patch
|
blob
|
history
diff --git
a/fs/afs/flock.c
b/fs/afs/flock.c
index eff82a6839e4cfc7869b3d16dccdce1ac9f088f4..cb3054c7843ea49355409eec8acb68de82ef4679 100644
(file)
--- a/
fs/afs/flock.c
+++ b/
fs/afs/flock.c
@@
-376,7
+376,6
@@
again:
spin_unlock(&vnode->lock);
return;
- fallthrough;
default:
/* Looks like a lock request was withdrawn. */
spin_unlock(&vnode->lock);