mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 12:10:52 +02:00
The wilc_wfi_init_mon_int() forgets to clean up resource when
register_netdevice() failed. Add the missed call to fix it.
And the return value of netdev_priv can't be NULL, so remove
the unnecessary error handling.
Fixes:
|
||
|---|---|---|
| .. | ||
| wilc1000 | ||
| Kconfig | ||
| Makefile | ||