cxgb4: free up resources of pf 0-3
authorGanesh Goudar <ganeshgr@chelsio.com>
Thu, 15 Feb 2018 12:46:57 +0000 (18:16 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2018 20:29:52 +0000 (15:29 -0500)
commitc4e43e14cd4617d57babc7a9f251bf3e9ad360a0
tree7bc451e52f756eedaa6705799b5c48bcd7d33626
parenta8c6db1dfd1b1d18359241372bb204054f2c3174
cxgb4: free up resources of pf 0-3

free pf 0-3 resources, commit baf5086840ab ("cxgb4:
restructure VF mgmt code") erroneously removed the
code which frees the pf 0-3 resources, causing the
probe of pf 0-3 to fail in case of driver reload.

Fixes: baf5086840ab ("cxgb4: restructure VF mgmt code")
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c