diff mbox series

scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES

Message ID 20220708052006epcms2p2d1129dbf95fd77f46906200ccb0a9ccd@epcms2p2 (mailing list archive)
State Accepted
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

Avri Altman July 8, 2022, 8:50 a.m. UTC | #1
> 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>
Reviewed-by: Avri Altman <avri.altman@wdc.com>

> ---
>  drivers/ufs/core/ufshcd.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> 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
> 
> --
> 2.17.1
Martin K. Petersen July 14, 2022, 3:02 a.m. UTC | #2
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!
Martin K. Petersen July 19, 2022, 3:08 a.m. UTC | #3
On Fri, 08 Jul 2022 14:20:06 +0900, Keoseong Park wrote:

> 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-queue, thanks!

[1/1] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES
      https://git.kernel.org/mkp/scsi/c/c641ffdb5904
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