diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2017-07-18 15:43:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-19 16:33:57 -0700 |
commit | 648e8b86d0ae01bd5a61df2d776b70ed8b96e2b8 (patch) | |
tree | d6fc9e5232af9a3da1a3aa9584b40cff97905bb0 /drivers/net/ethernet/dec | |
parent | f55dda4bded9d2042d296b9215bf6453f7411a0d (diff) | |
download | linux-648e8b86d0ae01bd5a61df2d776b70ed8b96e2b8.tar.bz2 |
net: tulip: remove useless code in tulip_init_one()
Remove useless local variable multiport_cnt and the code related.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dec')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/tulip_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c index 17e566a8b345..84394b43c0a1 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c @@ -1303,7 +1303,6 @@ static int tulip_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) 0x00, 'L', 'i', 'n', 'u', 'x' }; static int last_irq; - static int multiport_cnt; /* For four-port boards w/one EEPROM */ int i, irq; unsigned short sum; unsigned char *ee_data; @@ -1557,7 +1556,6 @@ static int tulip_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) } else if (ee_data[0] == 0xff && ee_data[1] == 0xff && ee_data[2] == 0) { sa_offset = 2; /* Grrr, damn Matrox boards. */ - multiport_cnt = 4; } #ifdef CONFIG_MIPS_COBALT if ((pdev->bus->number == 0) && |