net: hns: fix the comments style issue
authorPeng Li <lipeng321@huawei.com>
Fri, 14 May 2021 07:31:39 +0000 (15:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:09:24 +0000 (15:09 -0700)
Networking block comments don't use an empty /* line,
use /* Comment...
This patch fix the comments style issue.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c

index f4cf569..de6f051 100644 (file)
@@ -914,8 +914,7 @@ static int hns_mac_get_info(struct hns_mac_cb *mac_cb)
                }
        } else if (is_acpi_node(mac_cb->fw_port)) {
                ret = hns_mac_register_phy(mac_cb);
-               /*
-                * Mac can work well if there is phy or not.If the port don't
+               /* Mac can work well if there is phy or not.If the port don't
                 * connect with phy, the return value will be ignored. Only
                 * when there is phy but can't find mdio bus, the return value
                 * will be handled.