]> git.baikalelectronics.ru Git - kernel.git/commitdiff
regulator: pcap-regulator: remove unused variable 'SW3_table'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 28 Sep 2019 08:55:40 +0000 (16:55 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:46:37 +0000 (12:46 +0100)
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>
drivers/regulator/pcap-regulator.c

index c2469263db954a392327f00d76a9658d7ee1811a..0345f38f6f78838e9141aff44c381fae1f6ea503 100644 (file)
@@ -86,10 +86,6 @@ static const unsigned int SW1_table[] = {
 
 #define SW2_table SW1_table
 
-static const unsigned int SW3_table[] = {
-       4000000, 4500000, 5000000, 5500000,
-};
-
 struct pcap_regulator {
        const u8 reg;
        const u8 en;