diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-04-18 00:22:14 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-04-19 04:11:58 +0300 |
| commit | d3b404c29c97ecf56001dc94f94a5b8e5efcd2e3 (patch) | |
| tree | 31db28d6888263a8d81db5f7333367fd0bc56693 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 9a899a35b0d6b28b31cb04e042a349ef2fe18557 (diff) | |
| download | linux-d3b404c29c97ecf56001dc94f94a5b8e5efcd2e3.tar.xz | |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
