diff options
| author | Rafał Miłecki <[email protected]> | 2017-01-28 14:15:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-30 00:24:12 +0000 |
| commit | 40be0dda0725886b623d67868db3219a2e74683b (patch) | |
| tree | 20e4ab47bba12adbd70701e9d002ccb2599dae64 /drivers/net/xen-netback/interface.c | |
| parent | Merge tag 'batadv-next-for-davem-20170128' of git://git.open-mesh.org/linux-m... (diff) | |
| download | kernel-40be0dda0725886b623d67868db3219a2e74683b.tar.gz kernel-40be0dda0725886b623d67868db3219a2e74683b.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
