ionic: check for queues before deleting
authorShannon Nelson <snelson@pensando.io>
Sat, 28 Mar 2020 03:14:46 +0000 (20:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 18:40:50 +0000 (11:40 -0700)
commitd5eddde5ec526ccdd567c5842063c9aa89ab931e
treeb442af1af29c722eae2f245ee8da1387891ebc73
parentf9c00e2cf258d215a1ed2a7b2ae5b91ac2f29582
ionic: check for queues before deleting

Make sure the queue structures exist before trying
to delete them.  This addresses a couple of error
recovery issues.

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