diff options
author | Stefan Agner <stefan@agner.ch> | 2018-06-17 23:40:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-20 07:51:43 +0900 |
commit | 4e8439aa34802deab11cee68b0ecb18f887fb153 (patch) | |
tree | 23ec682c9cc6e6313be28806294a6c1766ee24a1 /drivers/net/ipvlan | |
parent | 3256d29fc7aecdf99feb1cb9475ed2252769a8a7 (diff) | |
download | linux-stable-4e8439aa34802deab11cee68b0ecb18f887fb153.tar.gz linux-stable-4e8439aa34802deab11cee68b0ecb18f887fb153.tar.bz2 linux-stable-4e8439aa34802deab11cee68b0ecb18f887fb153.zip |
net: hamradio: use eth_broadcast_addr
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>
Diffstat (limited to 'drivers/net/ipvlan')
0 files changed, 0 insertions, 0 deletions