projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d73b20
)
scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES
author
Keoseong Park
<keosung.park@samsung.com>
Fri, 8 Jul 2022 05:20:06 +0000
(14:20 +0900)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Thu, 14 Jul 2022 03:01:58 +0000
(23:01 -0400)
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>
drivers/ufs/core/ufshcd.c
patch
|
blob
|
history
diff --git
a/drivers/ufs/core/ufshcd.c
b/drivers/ufs/core/ufshcd.c
index 2cdc146754431ebd8b54e6abac2965eff30b6776..b92d4fb82bcad78aad9d467d21591b7c1f2b75d9 100644
(file)
--- 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