ionic: refactor ionic_lif_addr to remove a layer
authorShannon Nelson <snelson@pensando.io>
Thu, 26 Aug 2021 01:24:49 +0000 (18:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Aug 2021 08:41:50 +0000 (09:41 +0100)
commit8b41517313e571344a116cb75f8fc994c5447ffb
treeb139dea8b70272708fb356e7fc4cf862707cec26
parent969f843946041a8ac10a5af06127a68ab7880ad5
ionic: refactor ionic_lif_addr to remove a layer

The filter counting in ionic_lif_addr() really isn't useful,
and potentially misleading, especially when we're checking in
ionic_lif_rx_mode() to see if we need to go into PROMISC mode.
We can safely refactor this and remove a calling layer.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c