diff options
author | Yonglong Liu <liuyonglong@huawei.com> | 2019-08-28 22:23:10 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-29 16:57:43 -0700 |
commit | 199d2dd416df3a224c2e20da5499a9200a716829 (patch) | |
tree | f8d8817ede03969c63021cae92d8bcb8c88e9aad /drivers/i3c | |
parent | net: hns3: optimize some log printings (diff) | |
download | linux-dev-199d2dd416df3a224c2e20da5499a9200a716829.tar.xz linux-dev-199d2dd416df3a224c2e20da5499a9200a716829.zip |
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 'drivers/i3c')
0 files changed, 0 insertions, 0 deletions