diff options
author | Peng Li <lipeng321@huawei.com> | 2021-05-14 15:31:42 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-14 15:09:25 -0700 |
commit | cb067269760155b569c03ff6a2dcfd09ad824b94 (patch) | |
tree | 3d23ffccf6473ecb8318951ec1bdf8a9f3d50484 | |
parent | 5caab55a29792beade82a05e9e7089611f95bbbf (diff) | |
download | linux-cb067269760155b569c03ff6a2dcfd09ad824b94.tar.bz2 |
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>
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 2 |
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, |