nfp: add helper for cleaning up vNICs
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 26 May 2017 08:03:33 +0000 (01:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 15:01:49 +0000 (11:01 -0400)
commit71f8a116b5c4b4957c56a2f1a5bd2a7e19d6d400
tree29d53e457845eef8440bb3a44f2a0db7ed2ef644
parent1851f93fd2ee3dc0f3a6813385010a5d7ec1aabd
nfp: add helper for cleaning up vNICs

We will soon have to invoke more clean up for vNICs.
Move the cleanup callbacks into a helper.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_main.c