FROMGIT: scsi: ufs: core: Remove redundant desc_size variable from hba
Always read the descriptor with QUERY_DESC_MAX_SIZE. According to the spec, the device returns the actual size. Change-Id: I29053a66d1f65f674fba6d7e1a6c6e7f546eec74 Signed-off-by:Arthur Simchaev <Arthur.Simchaev@wdc.com> Reviewed-by:
Bean Huo <beanhuo@micron.com> Reviewed-by:
Bart Van Assche <bvanassche@acm.org> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Bug: 258234315 (cherry picked from commit f2a89b07 git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next) Signed-off-by:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment