projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'defconfig-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git]
/
arch
/
m68k
/
emu
/
nfeth.c
diff --git
a/arch/m68k/emu/nfeth.c
b/arch/m68k/emu/nfeth.c
index
d2875e3
..
79e5542
100644
(file)
--- a/
arch/m68k/emu/nfeth.c
+++ b/
arch/m68k/emu/nfeth.c
@@
-254,8
+254,8
@@
static void __exit nfeth_cleanup(void)
for (i = 0; i < MAX_UNIT; i++) {
if (nfeth_dev[i]) {
- unregister_netdev(nfeth_dev[
0
]);
- free_netdev(nfeth_dev[
0
]);
+ unregister_netdev(nfeth_dev[
i
]);
+ free_netdev(nfeth_dev[
i
]);
}
}
free_irq(nfEtherIRQ, nfeth_interrupt);