summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-06-17 23:40:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-24 13:26:55 +0200
commite5bfd8e707375eaa67c775e69ded5b8f104a80db (patch)
tree83e12b51a0969ea10545e948269abd33e805afad /tools/perf/scripts/python/call-graph-from-postgresql.py
parentd89657e052abc1ef49acd1bab3d66bfe3efd25e1 (diff)
net: hamradio: use eth_broadcast_addr
[ Upstream commit 4e8439aa34802deab11cee68b0ecb18f887fb153 ] The array bpq_eth_addr is only used to get the size of an address, whereas the bcast_addr is used to set the broadcast address. This leads to a warning when using clang: drivers/net/hamradio/bpqether.c:94:13: warning: variable 'bpq_eth_addr' is not needed and will not be emitted [-Wunneeded-internal-declaration] static char bpq_eth_addr[6]; ^ Remove both variables and use the common eth_broadcast_addr to set the broadcast address. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions