mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
liquidio: silence a locking static checker warning
Presumably we never hit this return, but static checkers complain that we need to unlock so we may as well fix that. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
66117a9d9a
commit
77041e89ce
@ -313,6 +313,7 @@ int octeon_mbox_process_message(struct octeon_mbox *mbox)
|
||||
return 0;
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore(&mbox->lock, flags);
|
||||
WARN_ON(1);
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user