summaryrefslogtreecommitdiffstats
path: root/drivers/net/gtp.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2018-04-17 23:22:14 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-18 21:11:58 -0400
commitd3b404c29c97ecf56001dc94f94a5b8e5efcd2e3 (patch)
tree31db28d6888263a8d81db5f7333367fd0bc56693 /drivers/net/gtp.c
parent9a899a35b0d6b28b31cb04e042a349ef2fe18557 (diff)
downloadlinux-d3b404c29c97ecf56001dc94f94a5b8e5efcd2e3.tar.bz2
r8169: simplify rtl8169_alloc_rx_data
dev->dev.parent has the same value as tp_to_dev(tp) (set by SET_NETDEV_DEV() in rtl_init_one()) and we know it can't be NULL. This allows us to simplify the code. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gtp.c')
0 files changed, 0 insertions, 0 deletions