diff options
Diffstat (limited to 'drivers/net/lan91c96.c')
-rw-r--r-- | drivers/net/lan91c96.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c index 90e4002..810079f 100644 --- a/drivers/net/lan91c96.c +++ b/drivers/net/lan91c96.c @@ -795,7 +795,6 @@ int lan91c96_initialize(u8 dev_num, int base_addr) dev = malloc(sizeof(*dev)); if (!dev) { - free(dev); return 0; } memset(dev, 0, sizeof(*dev)); |