Skip to content

Commit

Permalink
net: qualcomm: rmnet: Remove unnecessary device assignment
Browse files Browse the repository at this point in the history
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 <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Subash Abhinov Kasiviswanathan authored and davem330 committed Mar 22, 2018
1 parent 9dcaec0 commit 378e253
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ struct sk_buff *rmnet_map_deaggregate(struct sk_buff *skb,
if (!skbn)
return NULL;

skbn->dev = skb->dev;
skb_reserve(skbn, RMNET_MAP_DEAGGR_HEADROOM);
skb_put(skbn, packet_len);
memcpy(skbn->data, skb->data, packet_len);
Expand Down

0 comments on commit 378e253

Please sign in to comment.