summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2020-07-06 19:26:01 +0800
committerDavid S. Miller <davem@davemloft.net>2020-07-06 12:33:28 -0700
commite22b5e728bbb179b912d3a3cd5c25894a89a26a2 (patch)
tree5e2d015e5c5a49caad97d2e2868fe48176501852 /drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
parentcddd5648926d7a6e84526dadd8bfb21609a14fb7 (diff)
net: hns3: add a missing uninit debugfs when unload driver
When unloading driver, if flag HNS3_NIC_STATE_INITED has been already cleared, the debugfs will not be uninitialized, so fix it. Fixes: b2292360bb2a ("net: hns3: Add debugfs framework registration") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c')
0 files changed, 0 insertions, 0 deletions