]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: hns3: remove a duplicated printing in hclge_configure()
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 14 May 2020 12:41:23 +0000 (20:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2020 20:18:09 +0000 (13:18 -0700)
commit727f514bd677420d4253ad84509710040e808899
treef2fd299c548c2e7f893b5f664a9bbdcb5982fe3d
parent96b8e87838a1acfcb1a168537a44f727dda7f53f
net: hns3: remove a duplicated printing in hclge_configure()

Since hclge_get_cfg() already has error print, so hclge_configure()
should not print error when calling hclge_get_cfg() fail.

Reported-by: Guangbin Huang <huangguangbin2@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_main.c