ionic: fix unused assignment
authorShannon Nelson <snelson@pensando.io>
Mon, 13 Apr 2020 17:33:11 +0000 (10:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Apr 2020 23:30:14 +0000 (16:30 -0700)
Remove an unused initialized value.

Fixes: 7e4d47596b68 ("ionic: replay filters after fw upgrade")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c

index 27b7eca..80eeb76 100644 (file)
@@ -26,7 +26,7 @@ void ionic_rx_filter_replay(struct ionic_lif *lif)
        struct hlist_head *head;
        struct hlist_node *tmp;
        unsigned int i;
-       int err = 0;
+       int err;
 
        ac = &ctx.cmd.rx_filter_add;