bus/vmbus: simplify arguments to need signal function
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 31 Mar 2020 17:14:03 +0000 (10:14 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:06 +0000 (13:57 +0200)
commit99c67a0ae7755e742bc8c28fb5b63f1903b4f7cd
tree4978befd9e89ba90c5b20e24f709d9f3bdee84a8
parent56edef9906558c69a1440173a5a3aac8f8f8710f
bus/vmbus: simplify arguments to need signal function

The transmit need signal function can avoid an unnecessary
dereference by passing the right pointer. This also makes
code better match FreeBSD driver.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/bus/vmbus/vmbus_bufring.c