diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-08-09 11:44:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-27 19:42:43 +0200 |
commit | 9323bbfa140ca565be637c955e8420ec51ae43f5 (patch) | |
tree | 398638f207d99236693799320624c6f1db61605c /drivers/staging/gasket | |
parent | 3c0971939e5682bf8c20bdf240900d5014107b57 (diff) | |
download | lwn-9323bbfa140ca565be637c955e8420ec51ae43f5.tar.gz lwn-9323bbfa140ca565be637c955e8420ec51ae43f5.zip |
staging: gasket: apex: remove unused array cm_mappable_regions
Array cm_mappable_regions is defined but is never used hence it is
redundant and can be removed.
Cleans up clang warning:
warning: 'cm_mappable_regions' defined but not used [-Wunused-const-variable=]
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gasket')
-rw-r--r-- | drivers/staging/gasket/apex_driver.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/gasket/apex_driver.c b/drivers/staging/gasket/apex_driver.c index c747e9ca4518..6dca3b177863 100644 --- a/drivers/staging/gasket/apex_driver.c +++ b/drivers/staging/gasket/apex_driver.c @@ -138,9 +138,6 @@ static const struct gasket_mappable_region mappable_regions[NUM_REGIONS] = { { 0x48000, 0x1000 }, }; -static const struct gasket_mappable_region cm_mappable_regions[1] = { { 0x0, - APEX_CH_MEM_BYTES } }; - /* Gasket device interrupts enums must be dense (i.e., no empty slots). */ enum apex_interrupt { APEX_INTERRUPT_INSTR_QUEUE = 0, |