aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/mlx4/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c
index bbeb52ed1285..49a4acab5e82 100644
--- a/drivers/net/mlx4/main.c
+++ b/drivers/net/mlx4/main.c
@@ -736,8 +736,7 @@ static int __mlx4_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
736 } 736 }
737 737
738 /* 738 /*
739 * Check for BARs. We expect 0: 1MB, 2: 8MB, 4: DDR (may not 739 * Check for BARs. We expect 0: 1MB
740 * be present)
741 */ 740 */
742 if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) || 741 if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) ||
743 pci_resource_len(pdev, 0) != 1 << 20) { 742 pci_resource_len(pdev, 0) != 1 << 20) {