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)
commit322cb97c0734555d7a10299954624363de370c9c
treec0142a82a6da078687c5295548b8efd904717838
parente31053298408dc1fbb33ad2fdc9a114e70a9dfd6
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