Skip to content

Commit 8d4208c

Browse files
miguelinuxmartinkpetersen
authored andcommitted
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>
1 parent e040852 commit 8d4208c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/scsi/storvsc_drv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,8 +1191,6 @@ static void storvsc_on_channel_callback(void *context)
11911191
break;
11921192
}
11931193
} while (1);
1194-
1195-
return;
11961194
}
11971195

11981196
static int storvsc_connect_to_vsp(struct hv_device *device, u32 ring_size,

0 commit comments

Comments
 (0)