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)
commitdbae56a33f5881bad631b0121f9b4a5e7b2a454d
treef3f6aebfbdfa9b41b288dbf5efd5cb08d2076b32
parentb6872fd361056f3bce3e9fcfe9535c4b6b737531
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