summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-11-23 21:50:34 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:04:05 -0800
commitcba0516ddb9153afdc0ffffb9124f5f12a3b6ae5 (patch)
tree6231980599bf9e5ad42c149c242f21b61d95b59b /drivers/net/bnx2x.c
parent93a3b607e6eff7880959149a581d90c71887eb19 (diff)
[netdrvr] checkpatch cleanups
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/bnx2x.c')
-rw-r--r--drivers/net/bnx2x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bnx2x.c b/drivers/net/bnx2x.c
index e8c5754798ea..4a73c884d0c4 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;