diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2014-04-21 14:54:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-23 14:48:39 -0400 |
commit | 893f66277799cd46bdf97429cc5d16a815a51273 (patch) | |
tree | 55a10758faa4065052145662badf39d3a67947b6 /drivers/net/hyperv/rndis_filter.c | |
parent | hyperv: Remove recv_pkt_list and lock (diff) | |
download | linux-dev-893f66277799cd46bdf97429cc5d16a815a51273.tar.xz linux-dev-893f66277799cd46bdf97429cc5d16a815a51273.zip |
hyperv: Simplify the send_completion variables
The union contains only one member now, so we use the variables in it directly.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/hyperv/rndis_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c index 48f5a0fbd674..99c527adae5b 100644 --- a/drivers/net/hyperv/rndis_filter.c +++ b/drivers/net/hyperv/rndis_filter.c @@ -236,7 +236,7 @@ static int rndis_filter_send_request(struct rndis_device *dev, packet->page_buf[0].len; } - packet->completion.send.send_completion = NULL; + packet->send_completion = NULL; ret = netvsc_send(dev->net_dev->dev, packet); return ret; |