android_kernel_oneplus_msm8998/drivers/net/hamradio
Stefan Agner e5bfd8e707 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>
2018-08-24 13:26:55 +02:00
..
6pack.c 6pack: fix free memory scribbles 2016-01-06 01:25:01 -05:00
baycom_epp.c x86/asm/tsc: Rename native_read_tsc() to rdtsc() 2015-07-06 15:23:28 +02:00
baycom_par.c
baycom_ser_fdx.c hamradio: baycom: remove deprecated IRQF_DISABLED 2013-09-30 15:08:13 -04:00
baycom_ser_hdx.c hamradio: baycom: remove deprecated IRQF_DISABLED 2013-09-30 15:08:13 -04:00
bpqether.c net: hamradio: use eth_broadcast_addr 2018-08-24 13:26:55 +02:00
dmascc.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
hdlcdrv.c hdlcdrv: Fix divide by zero in hdlcdrv_ioctl 2018-04-13 19:50:14 +02:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile
mkiss.c NET: mkiss: Fix panic 2017-06-17 06:39:35 +02:00
scc.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
yam.c ax25: Stop using magic neighbour cache operations. 2015-03-03 14:44:41 -05:00
z8530.h