aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPaul Gortmaker <[email protected]>2016-08-04 16:07:58 -0400
committerDavid S. Miller <[email protected]>2016-08-08 13:08:21 -0700
commit66cf3504f4c528793b3d8986bab606f7cfb1c4bb (patch)
treec53f86aa663ec17c227d5e1d9ca7648aab13de90 /tools/perf/scripts/python/stackcollapse.py
parent61ec4bcebe593501f5354948fcfe943938d74f75 (diff)
net/ethernet: tundra: fix dump_eth_one warning in tsi108_eth
The call site for this function appears as: #ifdef DEBUG data->msg_enable = DEBUG; dump_eth_one(dev); #endif ...leading to the following warning for !DEBUG builds: drivers/net/ethernet/tundra/tsi108_eth.c:169:13: warning: 'dump_eth_one' defined but not used [-Wunused-function] static void dump_eth_one(struct net_device *dev) ^ ...when using the arch/powerpc/configs/mpc7448_hpc2_defconfig Put the function definition under the same #ifdef as the call site to avoid the warning. Cc: "David S. Miller" <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions