summaryrefslogtreecommitdiff
path: root/drivers/scsi/storvsc_drv.c
diff options
context:
space:
mode:
authorMiguel Bernal Marin <miguel.bernal.marin@linux.intel.com>2017-03-16 09:59:57 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-14 06:04:02 +0300
commit8d4208c1a73ab30e05da142e0f05b2b02fc26fc9 (patch)
tree955d7103bf09c59f3bca32d8632fe7b5d56e57f4 /drivers/scsi/storvsc_drv.c
parente04085285b829dc922e78768a9abb390a8caed31 (diff)
downloadlinux-8d4208c1a73ab30e05da142e0f05b2b02fc26fc9.tar.xz
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 <miguel.bernal.marin@linux.intel.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/storvsc_drv.c')
-rw-r--r--drivers/scsi/storvsc_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 3d70d1cf49a3..538f3e131275 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,