]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: simplify hclge_cmd_query_error()
authorWeihang Li <liweihang@hisilicon.com>
Thu, 1 Aug 2019 03:55:41 +0000 (11:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2019 17:32:13 +0000 (13:32 -0400)
commit15ba5217ada4a8f61a7fe90d72dbc9d0a3b31287
treef3f6aebfbdfa9b41b288dbf5efd5cb08d2076b32
parent5a30d3d4344e74f0eb06ee096346bf9625e7eba6
net: hns3: simplify hclge_cmd_query_error()

The 4th and 5th parameter of hclge_cmd_query_error is useless, so this
patch removes them.

Signed-off-by: Weihang Li <liweihang@hisilicon.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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c