net: hns3: clear pci private data when unload hns3 driver
authorJian Shen <shenjian15@huawei.com>
Sat, 26 Jan 2019 16:49:11 +0000 (00:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jan 2019 17:33:30 +0000 (09:33 -0800)
commitac864c2346d087dd3739435af1b8d36be5f60c75
tree0e5f885552929846e7d1b548edd0373b55db86c1
parent217e288c9718b383d68cacec50e37ec2c085c485
net: hns3: clear pci private data when unload hns3 driver

When unload hns3 driver, we should clear the pci private data.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c