Skip to contentSkip to conversation

at91_ide: remove unused ide_mm_{outb,inb}

PATCH Applied Stanislaw Gruszka 3 participants 3 messages Apr 6, 2009 – Apr 7, 2009

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

PATCH 1/2 at91_ide: remove unused ide_mm_{outb,inb}

---
Patch is against pata-2.6 .

 drivers/ide/at91_ide.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
drivers/ide/at91_ide.c +0 -10
index 4f3725d..c48dc61 100644
@@ -174,16 +174,6 @@ static void at91_ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd,
 	leave_16bit(chipselect, mode);
 }
 
-static u8 ide_mm_inb(unsigned long port)
-{
-	return readb((void __iomem *) port);
-}
-
-static void ide_mm_outb(u8 value, unsigned long port)
-{
-	writeb(value, (void __iomem *) port);
-}
-
 static void at91_ide_set_pio_mode(ide_drive_t *drive, const u8 pio)
 {
 	struct ide_timing *timing;
Signature · 1 line
1.4.4.4
#1 lore raw

Hello.

Quoted 2 lines · Stanislaw Gruszka

[...]

Quoted 12 lines
drivers/ide/at91_ide.c +0 -3
index 4f3725d..c48dc61 100644
@@ -174,16 +174,6 @@ static void at91_ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd,
 	leave_16bit(chipselect, mode);
 }
 
-static u8 ide_mm_inb(unsigned long port)
-{
-	return readb((void __iomem *) port);

drivers/ide/at91_ide.c static void at91_ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd, · line 179

Quoted 10 lines
drivers/ide/at91_ide.c +0 -7
-}
-
-static void ide_mm_outb(u8 value, unsigned long port)
-{
-	writeb(value, (void __iomem *) port);
-}
-
 static void at91_ide_set_pio_mode(ide_drive_t *drive, const u8 pio)
 {
 	struct ide_timing *timing;

Oops, that should have been a part of my patch removing
at91_ide_tf_{load|read}(). I'll recast...

MBR, Sergei