diff options
| author | Jian Shen <shenjian15@huawei.com> | 2019-04-04 16:17:59 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-04-04 10:20:39 -0700 |
| commit | d223dfa40a8f3811a56b3682a9377d7ada73f507 (patch) | |
| tree | 36a3e01ca55beadb1cc3cc441e66f8fa705870bc /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | net: hns3: modify HNS3_NIC_STATE_INITED flag in hns3_reset_notify_uninit_enet (diff) | |
| download | linux-d223dfa40a8f3811a56b3682a9377d7ada73f507.tar.gz linux-d223dfa40a8f3811a56b3682a9377d7ada73f507.zip | |
net: hns3: split function hnae3_match_n_instantiate()
The function hnae3_match_n_instantiate() was called both by
initializing or uninitializing client. For uninitializing, the
return value was never used.
To make it more clear, this patch splits it to two functions,
hnae3_init_client_instance() and hnae3_uninit_client_instance().
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>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
