提交 91545f6e 编写于 作者: E Eilon Greenstein 提交者: David S. Miller

bnx2x: Remove misleading error print

Failing to allocate MSI-X vectors is not an error and should not be
printed as such
Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d6a2f98b
...@@ -7486,11 +7486,6 @@ static int bnx2x_set_int_mode(struct bnx2x *bp) ...@@ -7486,11 +7486,6 @@ static int bnx2x_set_int_mode(struct bnx2x *bp)
rc = bnx2x_enable_msix(bp); rc = bnx2x_enable_msix(bp);
if (rc) { if (rc) {
/* failed to enable MSI-X */ /* failed to enable MSI-X */
if (bp->multi_mode)
BNX2X_ERR("Multi requested but failed to "
"enable MSI-X (rx %d tx %d), "
"set number of queues to 1\n",
bp->num_rx_queues, bp->num_tx_queues);
bp->num_rx_queues = 1; bp->num_rx_queues = 1;
bp->num_tx_queues = 1; bp->num_tx_queues = 1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册