Skip to content

Commit

Permalink
scsi: storvsc: remove return at end of void function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miguel Bernal Marin authored and Martin K. Petersen committed Apr 14, 2017
1 parent e040852 commit 8d4208c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/scsi/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8d4208c

Please sign in to comment.