summaryrefslogtreecommitdiff
path: root/fs/afs/flock.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-08-26 14:32:14 +0300
committerGustavo A. R. Silva <gustavoars@kernel.org>2020-08-27 22:33:01 +0300
commit210e799ed275488bcae16f1acd3d259043ec6c68 (patch)
treebc3045b73936f490a4db42fa177e6417739d4c45 /fs/afs/flock.c
parentb19a8b3d36697d8cf8f9a305d85a313d931fef71 (diff)
downloadlinux-210e799ed275488bcae16f1acd3d259043ec6c68.tar.xz
afs: Remove erroneous fallthough annotation
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>
Diffstat (limited to 'fs/afs/flock.c')
-rw-r--r--fs/afs/flock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/flock.c b/fs/afs/flock.c
index eff82a6839e4..cb3054c7843e 100644
--- 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);