Skip to contentSkip to conversation

ata: sata_rcar: drop unused #define's

PATCH Applied Sergey Shtylyov 2 participants 2 messages Feb 10, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ata: sata_rcar: drop unused #define's

This driver has never used the SH-Navi2G/ATAPI-ATA compatible taskfile registers (the driver uses the taskfile registers in another location anyway), so drop their #define's...

---
This patch is against the 'for-next' branch of Damien Le Moal's 'libata.git' repo.

 drivers/ata/sata_rcar.c |    4 ----
 1 file changed, 4 deletions(-)
drivers/ata/sata_rcar.c +0 -4
Index: libata/drivers/ata/sata_rcar.c
===================================================================
@@ -18,10 +18,6 @@
 
 #define DRV_NAME "sata_rcar"
 
-/* SH-Navi2G/ATAPI-ATA compatible task registers */
-#define DATA_REG			0x100
-#define SDEVCON_REG			0x138
-
 /* SH-Navi2G/ATAPI module compatible control registers */
 #define ATAPI_CONTROL1_REG		0x180
 #define ATAPI_STATUS_REG		0x184
#1 lore raw
Quoted 5 lines · Sergey Shtylyov

This driver has never used the SH-Navi2G/ATAPI-ATA compatible taskfile registers (the driver uses the taskfile registers in another location anyway), so drop their #define's...

Applied to for-5.18. Thanks !

Signature · 2 lines
Damien Le Moal
Western Digital Research