提交 77041e89 编写于 作者: D Dan Carpenter 提交者: David S. Miller

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: NDan Carpenter <dan.carpenter@oracle.com>
Acked-by: NFelix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 66117a9d
...@@ -313,6 +313,7 @@ int octeon_mbox_process_message(struct octeon_mbox *mbox) ...@@ -313,6 +313,7 @@ int octeon_mbox_process_message(struct octeon_mbox *mbox)
return 0; return 0;
} }
spin_unlock_irqrestore(&mbox->lock, flags);
WARN_ON(1); WARN_ON(1);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册