net: ipa: kill two constant symbols
authorAlex Elder <elder@linaro.org>
Fri, 21 Oct 2022 19:13:34 +0000 (14:13 -0500)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Oct 2022 09:15:18 +0000 (11:15 +0200)
commitfb4014ac76b837621a09c2254fa2d67bfbf58e67
tree11d853a910ed989ea7d25de82d8f3813e5f1163e
parent34802d0662d1dc28e5086657f88490a183b009e7
net: ipa: kill two constant symbols

The entries in each IPA routing table are divided between the modem
and the AP.  The modem always gets some number of entries located at
the base of the table; the AP gets all those that follow.

There's no reason to think the modem will use anything different
from the first entries in a routing table, so:
  - Get rid of IPA_ROUTE_MODEM_MIN (just assume it's 0)
  - Get rid of IPA_ROUTE_AP_MIN (just assume it's IPA_ROUTE_MODEM_COUNT)
And finally:
  - Open-code IPA_ROUTE_AP_COUNT and remove its definition

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ipa/ipa_table.c