diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2017-10-11 18:43:55 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-11 20:05:30 -0700 |
commit | 56470c927f1ba1e101b5e5a93e02d23a14fd99b7 (patch) | |
tree | a785e8661de80219984ff90eeb8ccf669bfbc526 /drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h | |
parent | 9148963201a4627a632d2c769805c9278f6d22d7 (diff) | |
download | linux-56470c927f1ba1e101b5e5a93e02d23a14fd99b7.tar.bz2 |
net: qualcomm: rmnet: Remove duplicate setting of rmnet private info
The end point is set twice in the local_ep as well as the mux_id and
the real_dev in the rmnet private structure. Remove the local_ep.
While these elements are equivalent, rmnet_endpoint will be
used only as part of the rmnet_port for muxed scenarios in VND mode.
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/rmnet_vnd.h')
-rw-r--r-- | drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h b/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h index 8a4042f0f6bf..cae134d35774 100644 --- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h +++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h @@ -17,7 +17,6 @@ #define _RMNET_VND_H_ int rmnet_vnd_do_flow_control(struct net_device *dev, int enable); -struct rmnet_endpoint *rmnet_vnd_get_endpoint(struct net_device *dev); int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev, struct rmnet_port *port, struct net_device *real_dev); |