Commit 40975e74 authored by Hao Chen's avatar Hao Chen Committed by David S. Miller
Browse files

net: hns3: remove rebundant line for hclge_dbg_dump_tm_pg()



Return value judgment should follow the function call, so remove line
between them.

Signed-off-by: default avatarHao Chen <chenhao288@hisilicon.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4e599ddd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -782,7 +782,6 @@ static int hclge_dbg_dump_tm_pg(struct hclge_dev *hdev, char *buf, int len)

	data_str = kcalloc(ARRAY_SIZE(tm_pg_items),
			   HCLGE_DBG_DATA_STR_LEN, GFP_KERNEL);

	if (!data_str)
		return -ENOMEM;