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:
stephen hemminger 2017-06-08 16:21:20 -07:00 committed by David S. Miller
parent 4097596278
commit 2d05b56097

View File

@ -763,8 +763,7 @@ struct netvsc_device {
refcount_t sc_offered;
/* Holds rndis device info */
void *extension;
struct rndis_device *extension;
int ring_size;