commit | d3b404c29c97ecf56001dc94f94a5b8e5efcd2e3 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue Apr 17 23:22:14 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 18 21:11:58 2018 -0400 |
tree | 31db28d6888263a8d81db5f7333367fd0bc56693 | |
parent | 9a899a35b0d6b28b31cb04e042a349ef2fe18557 [diff] |
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>