diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2017-09-02 23:30:44 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-03 21:27:18 -0700 |
commit | 032ee46828e7a2531c77bf80052fa1237820ec9c (patch) | |
tree | b965ca4c6f864f474c4ea69824f8b45406cefba9 /drivers/net/ethernet/apple/Kconfig | |
parent | 2d516c0d904af52967bb974ee58aa74819d8d05f (diff) | |
download | talos-obmc-linux-032ee46828e7a2531c77bf80052fa1237820ec9c.tar.gz talos-obmc-linux-032ee46828e7a2531c77bf80052fa1237820ec9c.zip |
net: qualcomm: rmnet: Refactor the new rmnet dev creation
Data format can be directly set from rmnet_newlink() since the
rmnet real dev info is already available.
Since __rmnet_get_real_dev_info() is no longer used in rmnet_config.c
after removal of those functions, move content to
rmnet_get_real_dev_info().
__rmnet_set_endpoint_config() is collapsed into
rmnet_set_endpoint_config() since only mux_id was being set additionally
within it. Remove an unnecessary mux_id check.
Set the mux_id for the rmnet_dev within rmnet_vnd_newlink() itself.
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Cc: Dan Williams <dcbw@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apple/Kconfig')
0 files changed, 0 insertions, 0 deletions