mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
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: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
30759219f5
commit
4baa994dc9
1 changed files with 0 additions and 1 deletions
|
@ -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? */
|
||||
|
|
Loading…
Reference in a new issue