Re: [PATCH][scsi-next] scsi: core: remove redundant assignment to shost->use_blk_mq

From: Bart Van Assche
Date: Wed Mar 28 2018 - 12:49:24 EST


On Wed, 2018-03-28 at 17:41 +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The first assignment to shost->use_blk_mq is redundant as it is
> overwritten by the following statement. Remove this redundant code.
>
> Detected by CoverityScan, CID#1466993 ("Unused value")

Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>