Revert "scsi: ufs: add queries retry mechanism"
authorSzymon Mielczarek <szymonx.mielczarek@intel.com>
Wed, 29 Mar 2017 06:19:21 +0000 (08:19 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 30 Mar 2017 02:51:40 +0000 (22:51 -0400)
commitdbd34a61c343f73f835539592fba4bdba8832e05
tree33ad9d98f3977aff0cd7828fcecff3a30c860fe5
parent5765d180fd23dc7d76109a0cbb082df6e5cfa67a
Revert "scsi: ufs: add queries retry mechanism"

This reverts commit 61e073590b82a539654626ecae91b8fab11db3f3.

The patch introduced redundant query retries as we already had such
mechanism provided with _retry functions.  Both ufshcd_read_desc and
ufshcd_read_unit_desc_param functions call ufshcd_query_descriptor_retry
wrapper.

Signed-off-by: Szymon Mielczarek <szymonx.mielczarek@intel.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c