netvsc: use typed pointer for internal state
The element netvsc_device:extension is always a pointer to RNDIS information. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4097596278
commit
2d05b56097
@ -763,8 +763,7 @@ struct netvsc_device {
|
|||||||
|
|
||||||
refcount_t sc_offered;
|
refcount_t sc_offered;
|
||||||
|
|
||||||
/* Holds rndis device info */
|
struct rndis_device *extension;
|
||||||
void *extension;
|
|
||||||
|
|
||||||
int ring_size;
|
int ring_size;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user