WSL2-Linux-Kernel/net/ethernet
Rafał Miłecki 40be0dda07 net: add devm version of alloc_etherdev_mqs function
This patch adds devm_alloc_etherdev_mqs function and devm_alloc_etherdev
macro. These can be used for simpler netdev allocation without having to
care about calling free_netdev.

Thanks to this change drivers, their error paths and removal paths may
get simpler by a bit.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-29 19:24:12 -05:00
..
Makefile ipx: move peII functions 2012-07-19 10:48:00 -07:00
eth.c net: add devm version of alloc_etherdev_mqs function 2017-01-29 19:24:12 -05:00