summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-05-23 15:27:09 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-24 01:56:17 +0200
commitf75063abc39441585a13fcc5b9ef3af993e9ac40 (patch)
tree4159a8ce4a8e566442ee3a764d08661aa087ff21 /fs/binfmt_elf_fdpic.c
parentnet: move devres helpers into a separate source file (diff)
downloadlinux-f75063abc39441585a13fcc5b9ef3af993e9ac40.tar.xz
linux-f75063abc39441585a13fcc5b9ef3af993e9ac40.zip
net: devres: define a separate devres structure for devm_alloc_etherdev()
Not using a proxy structure to store struct net_device doesn't save anything in terms of compiled code size or memory usage but significantly decreases the readability of the code with all the pointer casting. Define struct net_device_devres and use it in devm_alloc_etherdev_mqs(). Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions