summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2020-04-13 10:33:11 -0700
committerDavid S. Miller <davem@davemloft.net>2020-04-14 16:30:14 -0700
commit2c0df9f9eddbc87fa2ef8da86264995404d816b9 (patch)
treec167f783dabb068512bf3bb3bcc4d020740f850c /drivers
parent555cd19d0c6a23b3faef949bccca4822cccc2eb7 (diff)
downloadlinux-2c0df9f9eddbc87fa2ef8da86264995404d816b9.tar.bz2
ionic: fix unused assignment
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c b/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
index 27b7eca19784..80eeb7696e01 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
+++ b/drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
@@ -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;