]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove redundant param to simplify code
authorPeng Li <lipeng321@huawei.com>
Fri, 27 Aug 2021 09:28:21 +0000 (17:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Aug 2021 10:20:21 +0000 (11:20 +0100)
commit483e518fff88545e3d5a03f0d602176e13a0f7dd
treed45345c44ce7dbde71b543f89e6eb98a1bda0a2c
parent007e0504c40e8aa546034222c24ba540ed3de42e
net: hns3: remove redundant param to simplify code

The param msg_q is redundant, copy &req->msg to
hdev->arq.msg_q[hdev->arq.tail] directly makes code clean.
So removes the redundant param msg_q.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c