diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2018-03-22 04:48:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-22 22:00:44 +0300 |
commit | 378e25357ac78ad02fbc98bec9b4e3baaa916c5c (patch) | |
tree | 0ae3ed090b95b3804b97dde03c72ced77612cad2 /drivers/net/ethernet/qualcomm/rmnet | |
parent | 9dcaec042600dce169ae74527e5eead349f8eb90 (diff) | |
download | linux-378e25357ac78ad02fbc98bec9b4e3baaa916c5c.tar.xz |
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 <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/rmnet')
-rw-r--r-- | drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |