OSDN Git Service

scsi: ufs: core: Remove redundant wb check
authorArthur Simchaev <Arthur.Simchaev@wdc.com>
Sun, 11 Dec 2022 13:05:08 +0000 (15:05 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 30 Dec 2022 21:48:37 +0000 (21:48 +0000)
commit358ae02f47783c1d2a8033e50563ea1a9d176c15
treeea66bd7de6ee5eabfdedb2f19ee415545278426e
parentee8c88cab4afbd5ee10a127d6cbecd6b200185a5
scsi: ufs: core: Remove redundant wb check

We used to use the extended-feature field in the device descriptor as an
indication that the device supported UFS 2.2 or later.  Remove that as this
check is specifically done few lines above.

Signed-off-by: Arthur Simchaev <Arthur.Simchaev@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c