Skip to contentSkip to conversation

ata: libata: Remove unused macro definitions

PATCH Applied Damien Le Moal 2 participants 2 messages Oct 9, 2024 libata

lore
Share & tools
lore

Damien Le Moal

author maintainer
#0 lore raw

PATCH 1/1 ata: libata: Remove unused macro definitions

ATA_TMOUT_BOOT and ATA_TMOUT_BOOT_QUICK are not used anywhere. Delete these definitions.

---
 include/linux/libata.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
include/linux/libata.h +1 -3
index 9b4a6ff03235..c1a85d46eba6 100644
@@ -270,9 +270,7 @@ enum {
 
 	/* bits 24:31 of host->flags are reserved for LLD specific flags */
 
-	/* various lengths of time */
-	ATA_TMOUT_BOOT		= 30000,	/* heuristic */
-	ATA_TMOUT_BOOT_QUICK	=  7000,	/* heuristic */
+	/* Various lengths of time */
 	ATA_TMOUT_INTERNAL_QUICK = 5000,
 	ATA_TMOUT_MAX_PARK	= 30000,
 
Signature · 1 line
2.46.2
maintainer Applied
#1 lore raw
Quoted 4 lines · Damien Le Moal

ATA_TMOUT_BOOT and ATA_TMOUT_BOOT_QUICK are not used anywhere. Delete these definitions.

Applied to libata/linux.git (for-6.13), thanks!

[1/1] ata: libata: Remove unused macro definitions

      https://git.kernel.org/libata/linux/c/f7a870d0

Kind regards,
Niklas