ionic: remove old work task types
authorShannon Nelson <snelson@pensando.io>
Thu, 26 Aug 2021 01:24:46 +0000 (18:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Aug 2021 08:41:50 +0000 (09:41 +0100)
With the move of mac filter handling to outside of the
ndo_rx_mode context using the IONIC_DW_TYPE_RX_MODE,
we no longer are using IONIC_DW_TYPE_RX_ADDR_ADD and
IONIC_DW_TYPE_RX_ADDR_DEL and they can be removed.

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
drivers/net/ethernet/pensando/ionic/ionic_lif.h

index f52c47a..1940052 100644 (file)
@@ -92,12 +92,6 @@ static void ionic_lif_deferred_work(struct work_struct *work)
                case IONIC_DW_TYPE_RX_MODE:
                        ionic_lif_rx_mode(lif);
                        break;
-               case IONIC_DW_TYPE_RX_ADDR_ADD:
-                       ionic_lif_addr_add(lif, w->addr);
-                       break;
-               case IONIC_DW_TYPE_RX_ADDR_DEL:
-                       ionic_lif_addr_del(lif, w->addr);
-                       break;
                case IONIC_DW_TYPE_LINK_STATUS:
                        ionic_link_status_check(lif);
                        break;
index 69ab59f..31ee1a0 100644 (file)
@@ -98,8 +98,6 @@ struct ionic_qcq {
 
 enum ionic_deferred_work_type {
        IONIC_DW_TYPE_RX_MODE,
-       IONIC_DW_TYPE_RX_ADDR_ADD,
-       IONIC_DW_TYPE_RX_ADDR_DEL,
        IONIC_DW_TYPE_LINK_STATUS,
        IONIC_DW_TYPE_LIF_RESET,
 };