Re: [PATCH v3 1/3] scsi: ufs: core: Remove unnecessary if statement

From: Bart Van Assche
Date: Tue Oct 18 2022 - 14:21:02 EST


On 10/18/22 11:16, Bean Huo wrote:
From: Bean Huo <beanhuo@xxxxxxxxxx>

LUs with WB potential support are properly checked in ufshcd_wb_probe()
before calling ufshcd_read_unit_desc_param(), so remove this unnecessary
if-checkup in ufs_is_valid_unit_desc_lun() to match its function definition.

Hi Bean,

Does this patch differ from a revert of Jaegeuk's patch? If not, please change the patch title into "Revert scsi: ufs: WB is only available on LUN #0 to #7" and add "Cc: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>" just above the Signed-off-by line.

Thanks,

Bart.