Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4baa994d authored by Vitaly Kuznetsov's avatar Vitaly Kuznetsov Committed by David S. Miller
Browse files

hv_netvsc: remove redundant assignment in netvsc_recv_callback()



net_device_ctx is assigned in the very beginning of the function and 'net'
pointer doesn't change.

Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 30759219
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -701,7 +701,6 @@ int netvsc_recv_callback(struct hv_device *device_obj,
	}

vf_injection_done:
	net_device_ctx = netdev_priv(net);
	rx_stats = this_cpu_ptr(net_device_ctx->rx_stats);

	/* Allocate a skb - TODO direct I/O to pages? */