Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Stephen Hemminger and committed by
Greg Kroah-Hartman
8b1f91fb 67071816

-14
-2
drivers/hv/hv_balloon.c
··· 722 722 5*HZ); 723 723 post_status(&dm_device); 724 724 } 725 - 726 - return; 727 725 } 728 726 729 727 static void hv_online_page(struct page *pg)
-2
drivers/hv/hv_fcopy.c
··· 187 187 } 188 188 } 189 189 kfree(smsg_out); 190 - 191 - return; 192 190 } 193 191 194 192 /*
-2
drivers/hv/hv_kvp.c
··· 484 484 } 485 485 486 486 kfree(message); 487 - 488 - return; 489 487 } 490 488 491 489 /*
-2
drivers/hv/hv_snapshot.c
··· 213 213 } 214 214 215 215 kfree(vss_msg); 216 - 217 - return; 218 216 } 219 217 220 218 static void vss_handle_request(struct work_struct *dummy)
-2
drivers/hv/ring_buffer.c
··· 73 73 */ 74 74 if (old_write == READ_ONCE(rbi->ring_buffer->read_index)) 75 75 vmbus_setevent(channel); 76 - 77 - return; 78 76 } 79 77 80 78 /* Get the next write location for the specified ring buffer. */
-2
drivers/hv/vmbus_drv.c
··· 787 787 788 788 if (drv->shutdown) 789 789 drv->shutdown(dev); 790 - 791 - return; 792 790 } 793 791 794 792
-2
include/linux/hyperv.h
··· 1500 1500 cached_write_sz = hv_get_cached_bytes_to_write(rbi); 1501 1501 if (cached_write_sz < pending_sz) 1502 1502 vmbus_setevent(channel); 1503 - 1504 - return; 1505 1503 } 1506 1504 1507 1505 static inline void