Skip to content

Commit 378e253

Browse files
Subash Abhinov Kasiviswanathandavem330
authored andcommitted
net: qualcomm: rmnet: Remove unnecessary device assignment
Device of the de-aggregated skb is correctly assigned after inspecting the mux_id, so remove the assignment in rmnet_map_deaggregate(). Signed-off-by: Subash Abhinov Kasiviswanathan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9dcaec0 commit 378e253

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ struct sk_buff *rmnet_map_deaggregate(struct sk_buff *skb,
323323
if (!skbn)
324324
return NULL;
325325

326-
skbn->dev = skb->dev;
327326
skb_reserve(skbn, RMNET_MAP_DEAGGR_HEADROOM);
328327
skb_put(skbn, packet_len);
329328
memcpy(skbn->data, skb->data, packet_len);

0 commit comments

Comments
 (0)