]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hv_netvsc: use ARRAY_SIZE() for NDIS versions
authorStephen Hemminger <sthemmin@microsoft.com>
Tue, 23 Aug 2016 19:17:49 +0000 (12:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 19:05:36 +0000 (12:05 -0700)
commite5a78fad4f1eb49064e4c35d0a4263424b12124c
tree813708a5ea1e88b9e79f0b488877992e86ee6ed7
parent30d1de08c87ddde6f73936c3350e7e153988fe02
hv_netvsc: use ARRAY_SIZE() for NDIS versions

Don't hard code size of array of NDIS versions.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c