ionic: deinit rss only if selected
authorShannon Nelson <snelson@pensando.io>
Tue, 17 Mar 2020 03:22:07 +0000 (20:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 04:18:25 +0000 (21:18 -0700)
commitad6fd4d3114afc0fe9211f8dd3e58a72acb0e867
tree90cf83da70e0ded902b71bbfb42a8739c03c4e65
parentecd2d8b0fb18d9b8e31ca577258e0282cb63fc91
ionic: deinit rss only if selected

Don't bother de-initing RSS if it wasn't selected.

Fixes: aa3198819bea ("ionic: Add RSS support")
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