diff options
author | Wang Qing | 2022-03-31 05:07:38 -0700 |
---|---|---|
committer | Sebastian Reichel | 2022-08-29 18:08:48 +0200 |
commit | 77e0ccd6248272fd60ce9cce101b6e27e8d50d47 (patch) | |
tree | 7ef72c9f254868a3a8190c7a0bb67166c2465d09 | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) |
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>
-rw-r--r-- | drivers/hsi/clients/ssi_protocol.c | 1 |
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)) { |