diff options
Diffstat (limited to 'drivers/net/bnx2x.c')
-rw-r--r-- | drivers/net/bnx2x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bnx2x.c b/drivers/net/bnx2x.c index e8c5754798e..4a73c884d0c 100644 --- a/drivers/net/bnx2x.c +++ b/drivers/net/bnx2x.c @@ -8788,8 +8788,7 @@ static int __devinit bnx2x_init_board(struct pci_dev *pdev, INIT_WORK(&bp->reset_task, bnx2x_reset_task); INIT_WORK(&bp->sp_task, bnx2x_sp_task); - dev->base_addr = dev->mem_start = pci_resource_start(pdev, 0); - dev->mem_end = pci_resource_end(pdev, 0); + dev->base_addr = pci_resource_start(pdev, 0); dev->irq = pdev->irq; |