Re: [Patch] vmbus: Simply hv_get_next_write_location() function

2018-01-25 Thread Tianyu Lan
On Thu, Jan 25, 2018 at 12:37 AM, Stephen Hemminger wrote: > On Wed, 24 Jan 2018 14:21:30 +0800 > lantianyu1...@gmail.com wrote: > >> From: Tianyu Lan >> >> The "next" variable is redundant in hv_get_next_write_location(). >> This patch is to

Re: [Patch] vmbus: Simply hv_get_next_write_location() function

2018-01-24 Thread Stephen Hemminger
On Wed, 24 Jan 2018 14:21:30 +0800 lantianyu1...@gmail.com wrote: > From: Tianyu Lan > > The "next" variable is redundant in hv_get_next_write_location(). > This patch is to remove it and return write_index directly. > > Signed-off-by: Tianyu Lan

[Patch] vmbus: Simply hv_get_next_write_location() function

2018-01-23 Thread lantianyu1986
From: Tianyu Lan The "next" variable is redundant in hv_get_next_write_location(). This patch is to remove it and return write_index directly. Signed-off-by: Tianyu Lan --- drivers/hv/ring_buffer.c | 4 +--- 1 file changed, 1 insertion(+), 3