summaryrefslogtreecommitdiffstats
path: root/drivers/hv/ring_buffer.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-03-04 18:27:12 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-17 15:10:48 +0900
commit8b1f91fb4c1a8a860b8edc0c383821b2ff8a1ece (patch)
tree256d1cc15e0a10aafbfead6d7477989231cb4d5c /drivers/hv/ring_buffer.c
parent670718161852c6acdb8d6bca6a73510f7b9f4320 (diff)
downloadlinux-8b1f91fb4c1a8a860b8edc0c383821b2ff8a1ece.tar.gz
linux-8b1f91fb4c1a8a860b8edc0c383821b2ff8a1ece.tar.bz2
linux-8b1f91fb4c1a8a860b8edc0c383821b2ff8a1ece.zip
vmbus: remove useless return's
No need for empty return at end of void function 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>
Diffstat (limited to 'drivers/hv/ring_buffer.c')
-rw-r--r--drivers/hv/ring_buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c
index 87799e81af97..d0ff5b41161a 100644
--- a/drivers/hv/ring_buffer.c
+++ b/drivers/hv/ring_buffer.c
@@ -73,8 +73,6 @@ static void hv_signal_on_write(u32 old_write, struct vmbus_channel *channel)
*/
if (old_write == READ_ONCE(rbi->ring_buffer->read_index))
vmbus_setevent(channel);
-
- return;
}
/* Get the next write location for the specified ring buffer. */