Skip to contentSkip to conversation

bnx2x: Remove misleading error print

PATCH Applied Eilon Greenstein 2 participants 2 messages Nov 9, 2009 – Nov 11, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/4 bnx2x: Remove misleading error print

Failing to allocate MSI-X vectors is not an error and should not be printed as such

---
 drivers/net/bnx2x_main.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
drivers/net/bnx2x_main.c +0 -5
index 856ca38..a8ebd46 100644
@@ -7478,11 +7478,6 @@ static int bnx2x_set_int_mode(struct bnx2x *bp)
 		rc = bnx2x_enable_msix(bp);
 		if (rc) {
 			/* 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_tx_queues = 1;
 		}
Signature · 1 line
1.5.4.3