aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2018-04-17 23:23:35 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-18 21:11:58 -0400
commitb1127e641e8986212620111ee5f78a24cbe8ae27 (patch)
tree349d683ae7f5917b8425114aa6b8b6d0a6f8621f /tools/perf/scripts/python/bin/stackcollapse-record
parentr8169: simplify rtl8169_alloc_rx_data (diff)
downloadlinux-b1127e641e8986212620111ee5f78a24cbe8ae27.tar.gz
linux-b1127e641e8986212620111ee5f78a24cbe8ae27.zip
r8169: improve rtl8169_init_ring
This function doesn't use the net_device, therefore change the parameter to type struct rtl8169_private * to simplify the code. In addition we don't need the calculations in the memset statements, we can use the size of the arrays directly. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions