]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
vmbus: remove useless return's
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 5 Mar 2017 01:27:12 +0000 (18:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 06:10:48 +0000 (15:10 +0900)
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>
drivers/hv/hv_balloon.c
drivers/hv/hv_fcopy.c
drivers/hv/hv_kvp.c
drivers/hv/hv_snapshot.c
drivers/hv/ring_buffer.c
drivers/hv/vmbus_drv.c
include/linux/hyperv.h

index 5fd03e59cee563dca301f7ce5c294de298510eab..f5728deff8933994680e09b46988daa8005369d1 100644 (file)
@@ -722,8 +722,6 @@ static void hv_mem_hot_add(unsigned long start, unsigned long size,
                                                    5*HZ);
                post_status(&dm_device);
        }
-
-       return;
 }
 
 static void hv_online_page(struct page *pg)
index 9aee6014339dffc8627d173446e7bfe0dc06247c..3ce7559d7b41480702e4f5bc2b2d00912502b1de 100644 (file)
@@ -187,8 +187,6 @@ static void fcopy_send_data(struct work_struct *dummy)
                }
        }
        kfree(smsg_out);
-
-       return;
 }
 
 /*
index de263712e247c2b8c47f450f3d1b7eb387f1e073..a65b7f88d7aa0247d433a071cb385bca1f3f66db 100644 (file)
@@ -484,8 +484,6 @@ kvp_send_key(struct work_struct *dummy)
        }
 
        kfree(message);
-
-       return;
 }
 
 /*
index bcc03f0748d61cd5a8c9f31447b77fd8b2e7e13b..216d0227775901bc3deef58b319b9cf44ca9a571 100644 (file)
@@ -213,8 +213,6 @@ static void vss_send_op(void)
        }
 
        kfree(vss_msg);
-
-       return;
 }
 
 static void vss_handle_request(struct work_struct *dummy)
index 87799e81af97697cb4879acb227a30ea0bf792bd..d0ff5b41161a749c2467fb2d88f02b8bf3534941 100644 (file)
@@ -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. */
index da6b59ba594039e6d490e8cc9903f41f99032900..5ca5004861c6e5618b40868723ce57e16e4ba62b 100644 (file)
@@ -787,8 +787,6 @@ static void vmbus_shutdown(struct device *child_device)
 
        if (drv->shutdown)
                drv->shutdown(dev);
-
-       return;
 }
 
 
index 62bbf3c1aa4a04409fac1a001b03a87cf0162fd1..2b1ed66824bef3abc341305c05a4d56f3d4bbafc 100644 (file)
@@ -1500,8 +1500,6 @@ static inline  void hv_signal_on_read(struct vmbus_channel *channel)
        cached_write_sz = hv_get_cached_bytes_to_write(rbi);
        if (cached_write_sz < pending_sz)
                vmbus_setevent(channel);
-
-       return;
 }
 
 static inline void