RDMA/hns: Remove redundant print information
authorYixing Liu <liuyixing1@huawei.com>
Mon, 6 Jan 2020 12:21:14 +0000 (20:21 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 7 Jan 2020 20:26:33 +0000 (16:26 -0400)
There are already necessary prints in outer function, prints in
hns_roce_function_clear() may confuse users. So these prints is removed.

Link: https://lore.kernel.org/r/1578313276-29080-6-git-send-email-liweihang@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c

index 9b9ee22..d53025b 100644 (file)
@@ -1248,7 +1248,6 @@ static void hns_roce_function_clear(struct hns_roce_dev *hr_dev)
        }
 
 out:
-       dev_err(hr_dev->dev, "Func clear fail.\n");
        hns_roce_func_clr_rst_prc(hr_dev, ret, fclr_write_fail_flag);
 }