mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 06:34:12 +08:00
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>
This commit is contained in:
parent
568035b01c
commit
77e0ccd624
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user