summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_mem.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-03-19 10:24:20 -0500
committerDavid S. Miller <davem@davemloft.net>2021-03-19 13:35:54 -0700
commit8f692169b13843532a9eae5ad7de692223c85b7f (patch)
tree8a630e4bb508e2071e6dbe91ca0562b303faf838 /drivers/net/ipa/ipa_mem.h
parent22e3b314302c004bb216ed742e912e866b6d31a6 (diff)
net: ipa: don't define empty memory regions
The AP_HEADER memory region for both the SDM845 and SC7180 SoCs has zero size, and has no canaries. Defining an offset for such a zero-length region is not meaningful, so it's better not to define it at all. The size of this region is used in the code, but its value will still be zero because the memory regions are defined in statically initialized memory. For the SC7180, the STATS_DROP memory region has a zero size and no canaries as well. These regions are the only place where a zero-sized region is defined despite having no canaries. Remove them. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_mem.h')
0 files changed, 0 insertions, 0 deletions