From: Subash Abhinov Kasiviswanathan Date: Thu, 22 Mar 2018 01:48:13 +0000 (-0600) Subject: net: qualcomm: rmnet: Remove unnecessary device assignment X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=378e25357ac78ad02fbc98bec9b4e3baaa916c5c;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c b/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c index 49e420e22776..e8f6c79157be 100644 --- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c +++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c @@ -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);