OSDN Git Service

net: hns3: remove redundant return value of hns3_uninit_all_ring()
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 9 Feb 2021 02:41:58 +0000 (10:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2021 23:34:07 +0000 (15:34 -0800)
commit64749c9c38a9b7f64b83b6970b679f2fb7cd6387
tree4d8be6555fd7ba54e2f3f063fb4e17ca379b61bc
parentcad8dfe82a9eb8d889cc550ceb8e61112376ae6f
net: hns3: remove redundant return value of hns3_uninit_all_ring()

Since hns3_uninit_all_ring() only returns 0, so remove this
redundant return value and function declaration in hns3_enet.h.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h