]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove redundant print on ENOMEM
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 21 Jan 2020 08:42:12 +0000 (16:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 10:46:21 +0000 (11:46 +0100)
commit5424335388dedc01d4f14210af787e6758548304
treec0142a82a6da078687c5295548b8efd904717838
parentd1ef2d07518e05cc4143a46405e04e5089f3d071
net: hns3: remove redundant print on ENOMEM

All kmalloc-based functions print enough information on failures.
So this patch removes the log in hclge_get_dfx_reg() when returns
ENOMEM.

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