netvsc: simplify get next send section
authorstephen hemminger <stephen@networkplumber.org>
Tue, 24 Jan 2017 21:06:14 +0000 (13:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 21:29:01 +0000 (16:29 -0500)
commitb58a185801dab4eefccad868c466296795c5bae7
tree2bab381bd3dccf7f354c59dce0995cf305aef871
parent6c80f3fc2398aef22798e8ac4258454b1062f3fb
netvsc: simplify get next send section

Use kernel for_each_clear_bit macro to simplify finding next
available send section.

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