scsi: storvsc: remove return at end of void function
authorMiguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Thu, 16 Mar 2017 06:59:57 +0000 (00:59 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 14 Apr 2017 03:04:02 +0000 (23:04 -0400)
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>
drivers/scsi/storvsc_drv.c

index 3d70d1cf49a3edbe1a2eacc4802e77605c3f8d4a..538f3e1312756811d85ef02ebdddbc682b5296f6 100644 (file)
@@ -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,