summaryrefslogtreecommitdiff
path: root/drivers/hsi/clients
diff options
context:
space:
mode:
authorWang Qing <wangqing@vivo.com>2022-03-31 15:07:38 +0300
committerSebastian Reichel <sre@kernel.org>2022-08-29 19:08:48 +0300
commit77e0ccd6248272fd60ce9cce101b6e27e8d50d47 (patch)
tree7ef72c9f254868a3a8190c7a0bb67166c2465d09 /drivers/hsi/clients
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-77e0ccd6248272fd60ce9cce101b6e27e8d50d47.tar.xz
HSI: clients: remove duplicate assignment
netdev_alloc_skb() has assigned ssi->netdev to skb->dev if successed, no need to repeat assignment. Signed-off-by: Wang Qing <wangqing@vivo.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/hsi/clients')
-rw-r--r--drivers/hsi/clients/ssi_protocol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hsi/clients/ssi_protocol.c b/drivers/hsi/clients/ssi_protocol.c
index 21f11a5b965b..7aacb19fd1ff 100644
--- a/drivers/hsi/clients/ssi_protocol.c
+++ b/drivers/hsi/clients/ssi_protocol.c
@@ -796,7 +796,6 @@ static void ssip_rx_strans(struct hsi_client *cl, u32 cmd)
dev_err(&cl->device, "No memory for rx skb\n");
goto out1;
}
- skb->dev = ssi->netdev;
skb_put(skb, len * 4);
msg = ssip_alloc_data(ssi, skb, GFP_ATOMIC);
if (unlikely(!msg)) {