summaryrefslogtreecommitdiff
path: root/drivers/ufs
diff options
context:
space:
mode:
authorKeoseong Park <keosung.park@samsung.com>2022-07-08 08:20:06 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-14 06:01:58 +0300
commitc641ffdb5904df0dc249ef3f2d753e2a684779c6 (patch)
treef7cd3fabbdfbe1b0631640a86b509040b1c9f2e8 /drivers/ufs
parent3d73b200f9893d8f5ba5d105e8b69c8d16744fa2 (diff)
downloadlinux-c641ffdb5904df0dc249ef3f2d753e2a684779c6.tar.xz
scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES
Commit 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler and other error recovery paths") removed all callers of UIC_HIBERN8_ENTER_RETRIES. Hence also remove the macro itself. Link: https://lore.kernel.org/r/20220708052006epcms2p2d1129dbf95fd77f46906200ccb0a9ccd@epcms2p2 Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Keoseong Park <keosung.park@samsung.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs')
-rw-r--r--drivers/ufs/core/ufshcd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 2cdc14675443..b92d4fb82bca 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -64,9 +64,6 @@
/* maximum number of link-startup retries */
#define DME_LINKSTARTUP_RETRIES 3
-/* Maximum retries for Hibern8 enter */
-#define UIC_HIBERN8_ENTER_RETRIES 3
-
/* maximum number of reset retries before giving up */
#define MAX_HOST_RESET_RETRIES 5