i40e: remove client instance on driver unload
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 30 Mar 2017 07:46:06 +0000 (00:46 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 7 Apr 2017 03:22:27 +0000 (20:22 -0700)
commit295c0a555062384449cb2b4670b7aac08c3624ac
tree1c7d418aa60d3b3193a2b356f3e8141c2cc7b540
parentbacd75cfac8af9fc91b7fde4b0cad8960c77986f
i40e: remove client instance on driver unload

When the driver is unloaded, we need to remove the client instance,
otherwise we leak memory.

Change-ID: If1e7882ac1f6ce15d004722fafbe31afbe0adc9a
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_client.c