ionic: move debugfs add/delete to match alloc/free
authorShannon Nelson <snelson@pensando.io>
Sat, 28 Mar 2020 03:14:43 +0000 (20:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 18:40:50 +0000 (11:40 -0700)
commit2a8c2c1a0264ebf80787f53d7aa8c661b336a07f
treefa69ca168203c245f40f69a5fa3941e9d746fc8f
parent987c0871e8ae8991f7f0f08489d883fa19e13f82
ionic: move debugfs add/delete to match alloc/free

Move the qcq debugfs add to the queue alloc, and likewise move
the debugfs delete to the queue free.  The LIF debugfs add
also needs to be moved, but the del is already in the LIF free.

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