mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
b19a8b3d36
commit
210e799ed2
|
@ -376,7 +376,6 @@ void afs_lock_work(struct work_struct *work)
|
||||||
spin_unlock(&vnode->lock);
|
spin_unlock(&vnode->lock);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
fallthrough;
|
|
||||||
default:
|
default:
|
||||||
/* Looks like a lock request was withdrawn. */
|
/* Looks like a lock request was withdrawn. */
|
||||||
spin_unlock(&vnode->lock);
|
spin_unlock(&vnode->lock);
|
||||||
|
|
Loading…
Reference in New Issue