projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568035b
)
HSI: clients: remove duplicate assignment
author
Wang Qing
<wangqing@vivo.com>
Thu, 31 Mar 2022 12:07:38 +0000
(
05:07
-0700)
committer
Sebastian Reichel
<sre@kernel.org>
Mon, 29 Aug 2022 16:08:48 +0000
(18:08 +0200)
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>
drivers/hsi/clients/ssi_protocol.c
patch
|
blob
|
history
diff --git
a/drivers/hsi/clients/ssi_protocol.c
b/drivers/hsi/clients/ssi_protocol.c
index
21f11a5
..
7aacb19
100644
(file)
--- 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)) {