diff options
author | Heiner Kallweit <[email protected]> | 2018-04-17 23:22:14 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-18 21:11:58 -0400 |
commit | d3b404c29c97ecf56001dc94f94a5b8e5efcd2e3 (patch) | |
tree | 31db28d6888263a8d81db5f7333367fd0bc56693 /tools/perf/scripts/python/check-perf-trace.py | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions