Skip to content

Commit 210e799

Browse files
Dan CarpenterGustavoARSilva
authored andcommitted
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>
1 parent b19a8b3 commit 210e799

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

fs/afs/flock.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ void afs_lock_work(struct work_struct *work)
376376
spin_unlock(&vnode->lock);
377377
return;
378378

379-
fallthrough;
380379
default:
381380
/* Looks like a lock request was withdrawn. */
382381
spin_unlock(&vnode->lock);

0 commit comments

Comments
 (0)