afs: Remove erroneous fallthough annotation
Subsystems (2)
PATCH 1/1 afs: Remove erroneous fallthough annotation
The fall through annotation comes after a return statement so it's not reachable.
Signed-off-by Dan Carpenter <[email protected]>
--- fs/afs/flock.c | 1 - 1 file changed, 1 deletion(-)
fs/afs/flock.c +0 -1
@@ -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);
Signature · 1 line
2.28.0
Quoted 4 lines · Dan Carpenter
The fall through annotation comes after a return statement so it's not reachable.
Signed-off-by Dan Carpenter <[email protected]>
Reviewed-by Gustavo A. R. Silva <[email protected]>
Thanks
--
Gustavo
Quoted 17 lines
--- fs/afs/flock.c | 1 - 1 file changed, 1 deletion(-)fs/afs/flock.c +0
-1@@ -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);