diff options
| author | Bart Van Assche <[email protected]> | 2022-08-15 10:00:43 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-08-22 10:07:53 -0600 |
| commit | a4e1d0b76e7b32c0839e72679c530445172a2564 (patch) | |
| tree | cdb61b21f077be9e0ace4ebdb8dc6aa5163c8d97 /drivers/scsi/pm8001/pm8001_init.c | |
| parent | 10b41ea15e81a5597bc5944a7900e9a790bd984a (diff) | |
block: Change the return type of blk_mq_map_queues() into void
Since blk_mq_map_queues() and the .map_queues() callbacks always return 0,
change their return type into void. Most callers ignore the returned value
anyway.
Cc: Christoph Hellwig <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Keith Busch <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: Doug Gilbert <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: John Garry <[email protected]>
Acked-by: Md Haris Iqbal <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[axboe: fold in fix from Bart]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_init.c')
| -rw-r--r-- | drivers/scsi/pm8001/pm8001_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index a0028e130a7e..2ff2fac1e403 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c @@ -81,7 +81,7 @@ LIST_HEAD(hba_list); struct workqueue_struct *pm8001_wq; -static int pm8001_map_queues(struct Scsi_Host *shost) +static void pm8001_map_queues(struct Scsi_Host *shost) { struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; |