diff options
Diffstat (limited to 'linux/src/drivers/net')
-rw-r--r-- | linux/src/drivers/net/8390.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/linux/src/drivers/net/8390.c b/linux/src/drivers/net/8390.c index 9864106..93c485d 100644 --- a/linux/src/drivers/net/8390.c +++ b/linux/src/drivers/net/8390.c @@ -706,13 +706,10 @@ int ethdev_init(struct device *dev) printk(version); if (dev->priv == NULL) { - struct ei_device *ei_local; - dev->priv = kmalloc(sizeof(struct ei_device), GFP_KERNEL); if (dev->priv == NULL) return -ENOMEM; memset(dev->priv, 0, sizeof(struct ei_device)); - ei_local = (struct ei_device *)dev->priv; } dev->hard_start_xmit = &ei_start_xmit; |