diff options
| author | Vitaly Kuznetsov <[email protected]> | 2015-12-02 00:43:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-03 04:43:24 +0000 |
| commit | 8b9fbe1ac390689f01153d6af8485caec5423ccc (patch) | |
| tree | 8445b10bfc1bdbc1b0c27e571fed08198d66be3b /drivers/net/hyperv/hyperv_net.h | |
| parent | hv_netvsc: Don't ask for additional head room in the skb (diff) | |
| download | kernel-8b9fbe1ac390689f01153d6af8485caec5423ccc.tar.gz kernel-8b9fbe1ac390689f01153d6af8485caec5423ccc.zip | |
hv_netvsc: move subchannel existence check to netvsc_select_queue()
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
| -rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 731054ef6da5..8d534a324ce1 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -1272,19 +1272,4 @@ struct rndis_message { #define TRANSPORT_INFO_IPV6_TCP ((INFO_IPV6 << 16) | INFO_TCP) #define TRANSPORT_INFO_IPV6_UDP ((INFO_IPV6 << 16) | INFO_UDP) -static inline struct vmbus_channel *get_channel(struct hv_netvsc_packet *packet, - struct netvsc_device *net_device) - -{ - struct vmbus_channel *out_channel; - - out_channel = net_device->chn_table[packet->q_idx]; - if (!out_channel) { - out_channel = net_device->dev->channel; - packet->q_idx = 0; - } - return out_channel; -} - - #endif /* _HYPERV_NET_H */ |
