From: Miguel Bernal Marin Date: Thu, 16 Mar 2017 06:59:57 +0000 (-0600) Subject: scsi: storvsc: remove return at end of void function X-Git-Tag: v4.12-rc1~99^2~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d4208c1a73ab30e05da142e0f05b2b02fc26fc9;p=thirdparty%2Flinux.git scsi: storvsc: remove return at end of void function storvsc_on_channel_callback is a void function and the return statement at the end is not useful. Found with checkpatch. Signed-off-by: Miguel Bernal Marin Reviewed-by: K. Y. Srinivasan Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 3d70d1cf49a3e..538f3e1312756 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@ -1191,8 +1191,6 @@ static void storvsc_on_channel_callback(void *context) break; } } while (1); - - return; } static int storvsc_connect_to_vsp(struct hv_device *device, u32 ring_size,