Skip to content

Commit

Permalink
afs: Remove erroneous fallthough annotation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Gustavo A. R. Silva committed Aug 27, 2020
1 parent b19a8b3 commit 210e799
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/afs/flock.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ void afs_lock_work(struct work_struct *work)
spin_unlock(&vnode->lock);
return;

fallthrough;
default:
/* Looks like a lock request was withdrawn. */
spin_unlock(&vnode->lock);
Expand Down

0 comments on commit 210e799

Please sign in to comment.