nfp: add nfp_net_pf_free_vnic() function
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 22 May 2017 17:59:25 +0000 (10:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 May 2017 18:59:03 +0000 (14:59 -0400)
commit9140b30d318520e6d7dfe3b48aa62e6a7336b510
treecd7b7b6e386c12c20f1deab3adcbb005454ae2d2
parentd4e7f0928593ac7df9b78410beb90178326a22c0
nfp: add nfp_net_pf_free_vnic() function

Soon a third place will need to free a struct nfp_net.  Add a free
counterpart to nfp_net_pf_alloc_vnic().

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