OSDN Git Service

net: qualcomm: rmnet: Convert the muxed endpoint to hlist
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Thu, 12 Oct 2017 00:43:57 +0000 (18:43 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Oct 2017 03:05:30 +0000 (20:05 -0700)
commit3352e6c45760fd6675468a35ef699ab94617cab4
treef21ae07f293d88668b90cf3e734a8532ad2dde83
parent5451237ff7a77ded1d81538e3daa76dc3ee60538
net: qualcomm: rmnet: Convert the muxed endpoint to hlist

Rather than using a static array, use a hlist to store the muxed
endpoints and use the mux id to query the rmnet_device.
This is useful as usually very few mux ids are used.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Cc: Dan Williams <dcbw@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c
drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h