vmbus: eliminate duplicate cached index
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 25 Jun 2017 19:30:27 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 15:16:05 +0000 (17:16 +0200)
commit05d00bc94ac27d220d8a78e365d7fa3a26dcca17
tree64da1c51e2148467c6b9a3acb71ab113510d42ad
parent8dd45f2ab005a1f3301296059b23b03ec3dbf79b
vmbus: eliminate duplicate cached index

Don't need cached read index anymore now that packet iterator
is used. The iterator has the original read index until the
visible read_index is updated.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/ring_buffer.c
include/linux/hyperv.h