diff options
Diffstat (limited to 'drivers/net/tehuti.c')
-rw-r--r-- | drivers/net/tehuti.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tehuti.c b/drivers/net/tehuti.c index e29f495c6a2b..20ab16192325 100644 --- a/drivers/net/tehuti.c +++ b/drivers/net/tehuti.c | |||
@@ -2033,7 +2033,6 @@ bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
2033 | /************** priv ****************/ | 2033 | /************** priv ****************/ |
2034 | priv = nic->priv[port] = netdev_priv(ndev); | 2034 | priv = nic->priv[port] = netdev_priv(ndev); |
2035 | 2035 | ||
2036 | memset(priv, 0, sizeof(struct bdx_priv)); | ||
2037 | priv->pBdxRegs = nic->regs + port * 0x8000; | 2036 | priv->pBdxRegs = nic->regs + port * 0x8000; |
2038 | priv->port = port; | 2037 | priv->port = port; |
2039 | priv->pdev = pdev; | 2038 | priv->pdev = pdev; |