All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ata: sata_rcar: drop unused #define's
@ 2022-02-10 10:32 Sergey Shtylyov
  2022-02-10 12:37 ` Damien Le Moal
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Shtylyov @ 2022-02-10 10:32 UTC (permalink / raw)
  To: Damien Le Moal, linux-ide

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

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>

---
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(-)

Index: libata/drivers/ata/sata_rcar.c
===================================================================
--- libata.orig/drivers/ata/sata_rcar.c
+++ 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ata: sata_rcar: drop unused #define's
  2022-02-10 10:32 [PATCH] ata: sata_rcar: drop unused #define's Sergey Shtylyov
@ 2022-02-10 12:37 ` Damien Le Moal
  0 siblings, 0 replies; 2+ messages in thread
From: Damien Le Moal @ 2022-02-10 12:37 UTC (permalink / raw)
  To: Sergey Shtylyov, linux-ide

On 2/10/22 19:32, Sergey Shtylyov wrote:
> 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...
> 
> Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>

Applied to for-5.18. Thanks !


-- 
Damien Le Moal
Western Digital Research

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-10 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10 10:32 [PATCH] ata: sata_rcar: drop unused #define's Sergey Shtylyov
2022-02-10 12:37 ` Damien Le Moal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.