Commit 9323bbfa authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3c097193
...@@ -138,9 +138,6 @@ static const struct gasket_mappable_region mappable_regions[NUM_REGIONS] = { ...@@ -138,9 +138,6 @@ static const struct gasket_mappable_region mappable_regions[NUM_REGIONS] = {
{ 0x48000, 0x1000 }, { 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). */ /* Gasket device interrupts enums must be dense (i.e., no empty slots). */
enum apex_interrupt { enum apex_interrupt {
APEX_INTERRUPT_INSTR_QUEUE = 0, APEX_INTERRUPT_INSTR_QUEUE = 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment