summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pensando
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2020-04-13 20:33:11 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-15 02:30:14 +0300
commit2c0df9f9eddbc87fa2ef8da86264995404d816b9 (patch)
treec167f783dabb068512bf3bb3bcc4d020740f850c /drivers/net/ethernet/pensando
parent555cd19d0c6a23b3faef949bccca4822cccc2eb7 (diff)
downloadlinux-2c0df9f9eddbc87fa2ef8da86264995404d816b9.tar.xz
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/net/ethernet/pensando')
-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;