Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: pcap-regulator: remove unused variable 'SW3_table'

drivers/regulator/pcap-regulator.c:89:27: warning:
SW3_table defined but not used [-Wunused-const-variable=]

It is never used, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190928085540.45332-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

YueHaibing and committed by
Mark Brown
182a1d8b e62cb0e0

-4
-4
drivers/regulator/pcap-regulator.c
··· 86 86 87 87 #define SW2_table SW1_table 88 88 89 - static const unsigned int SW3_table[] = { 90 - 4000000, 4500000, 5000000, 5500000, 91 - }; 92 - 93 89 struct pcap_regulator { 94 90 const u8 reg; 95 91 const u8 en;