aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-05-14 15:31:42 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-14 15:09:25 -0700
commitcb067269760155b569c03ff6a2dcfd09ad824b94 (patch)
tree3d23ffccf6473ecb8318951ec1bdf8a9f3d50484 /drivers/net/ethernet/hisilicon/hns
parentnet: hns: space required before the open brace '{' (diff)
downloadlinux-dev-cb067269760155b569c03ff6a2dcfd09ad824b94.tar.xz
linux-dev-cb067269760155b569c03ff6a2dcfd09ad824b94.zip
net: hns: remove redundant return int void function
Void function return statements are not generally useful, so remove the redundant return. 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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns')
-rw-r--r--drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c b/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
index c615fbf9094e..75e4ec569da8 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
+++ b/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
@@ -462,8 +462,6 @@ static void hns_ae_adjust_link(struct hnae_handle *handle, int speed,
default:
break;
}
-
- return;
}
static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue,