• A
    net: ipa: kill two constant symbols · fb4014ac
    Alex Elder 提交于
    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: NAlex Elder <elder@linaro.org>
    Signed-off-by: NPaolo Abeni <pabeni@redhat.com>
    fb4014ac
ipa_table.c 21.6 KB