summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYonglong Liu <liuyonglong@huawei.com>2019-08-28 22:23:10 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-29 16:57:43 -0700
commit199d2dd416df3a224c2e20da5499a9200a716829 (patch)
treef8d8817ede03969c63021cae92d8bcb8c88e9aad /tools/perf/scripts/python/export-to-sqlite.py
parented5b255ba679a2a6cf63a6891d9e802a9c77e5e1 (diff)
net: hns3: make some reusable codes into a function
In hclge_dcb.c, these pair of codes: hclge_notify_client(hdev, HNAE3_DOWN_CLIENT); hclge_notify_client(hdev, HNAE3_UNINIT_CLIENT); and hclge_notify_client(hdev, HNAE3_INIT_CLIENT); hclge_notify_client(hdev, HNAE3_UP_CLIENT); are called many times, so make them into a function. Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Reviewed-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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions