diff mbox series

scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES

Message ID 20220708052006epcms2p2d1129dbf95fd77f46906200ccb0a9ccd@epcms2p2
State New
Headers show
Series scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES | expand

Commit Message

Keoseong Park July 8, 2022, 5:20 a.m. UTC
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.

Signed-off-by: Keoseong Park <keosung.park@samsung.com>
---
 drivers/ufs/core/ufshcd.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Martin K. Petersen July 14, 2022, 3:02 a.m. UTC | #1
Keoseong,

> 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.

Applied to 5.20/scsi-staging, thanks!
diff mbox series

Patch

diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 1d3214e6b364..f6b36d2bfa21 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