Skip to content
Commit 3f076eff authored by Mohammed Gamal's avatar Mohammed Gamal Committed by David S. Miller
Browse files

hv_netvsc: Pass net_device parameter to revoke and teardown functions



The callers to netvsc_revoke_*_buf() and netvsc_teardown_*_gpadl()
already have their net_device instances. Pass them as a paramaeter to
the function instead of obtaining them from netvsc_device struct
everytime

Signed-off-by: default avatarMohammed Gamal <mgamal@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a56d99d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment