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)
commit5f22a80f32deed391011f7ab3ce8951ea89282f8
treed45345c44ce7dbde71b543f89e6eb98a1bda0a2c
parent304cd8e776ddca5021dd9c1d7603ea40afc48ec6
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