Arnd Bergmann <arnd@xxxxxxxx> writes: > On Fri, May 19, 2017 at 8:44 AM, Tom Psyborg <pozega.tomislav@xxxxxxxxx> wrote: >> warning: 'rt2800_bbp_read' used but never defined >> static u8 rt2800_bbp_read(struct rt2x00_dev *rt2x00dev, >> ^ >> /home/ubuntu/Music/openwrt/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_mt7620/compat-wireless-2016-05-12/drivers/net/wireless/ralink/rt2x00/rt2800lib.h:262:13: >> warning: 'rt2800_bbp_write' used but never defined >> static void rt2800_bbp_write(struct rt2x00_dev *rt2x00dev, >> ^ >> CC [M] >> /home/ubuntu/Music/openwrt/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_mt7620/compat-wireless-2016-05-12/drivers/net/wireless/ralink/rt2x00/rt2800pci.o >> In file included from >> /home/ubuntu/Music/openwrt/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_mt7620/compat-wireless-2016-05-12/drivers/net/wireless/ralink/rt2x00/rt2800pci.c:43:0: >> /home/ubuntu/Music/openwrt/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_mt7620/compat-wireless-2016-05-12/drivers/net/wireless/ralink/rt2x00/rt2800lib.h:259:11: >> warning: 'rt2800_bbp_read' declared 'static' but never defined >> [-Wunused-function] >> static u8 rt2800_bbp_read(struct rt2x00_dev *rt2x00dev, >> ^ > > On which base version did you apply my patches? There may be a conflict > against patches that are in your tree but not yet in linux-next, as I don't see > the warning and also see no reference to rt2800_bbp_read in rt2800lib.h I did a test build with current wireless-drivers-next and I also don't see any warnings. -- Kalle Valo