diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-22 22:43:46 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-08-23 12:55:09 +0200 |
commit | 85a5f06773c85f8ec5030ed65e5fa3190b3f16bd (patch) | |
tree | f355855aac3e42cb33d3b328376ee31d8272c61b /drivers/acpi/sbshc.h | |
parent | d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1 (diff) | |
download | linux-85a5f06773c85f8ec5030ed65e5fa3190b3f16bd.tar.gz linux-85a5f06773c85f8ec5030ed65e5fa3190b3f16bd.tar.bz2 linux-85a5f06773c85f8ec5030ed65e5fa3190b3f16bd.zip |
ACPI: SBS: remove unused const variable 'SMBUS_PEC'
drivers/acpi/sbshc.h:18:17: warning:
SMBUS_PEC defined but not used [-Wunused-const-variable=]
SMBUS_PEC is never used since introduction in
commit 91087dfa51a2 ("ACPI: SBS: Split host
controller (ACPI0001) from SBS driver (ACPI0002)"),
so just remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/sbshc.h')
-rw-r--r-- | drivers/acpi/sbshc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/sbshc.h b/drivers/acpi/sbshc.h index 06372a37df10..c3522bb82792 100644 --- a/drivers/acpi/sbshc.h +++ b/drivers/acpi/sbshc.h @@ -15,8 +15,6 @@ enum acpi_smb_protocol { SMBUS_BLOCK_PROCESS_CALL = 0xd, }; -static const u8 SMBUS_PEC = 0x80; - enum acpi_sbs_device_addr { ACPI_SBS_CHARGER = 0x9, ACPI_SBS_MANAGER = 0xa, |