Commit acef9fa3 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] ide-io.c: remove unused unplugged iops

Introduced in kernel 2.5.63 and never used.
parent ae78191f
......@@ -30,75 +30,6 @@
#include <asm/io.h>
#include <asm/bitops.h>
/*
* IDE operator we assign to an unplugged device so that
* we don't trash new hardware assigned the same resources
*/
static u8 ide_unplugged_inb (unsigned long port)
{
return 0xFF;
}
static u16 ide_unplugged_inw (unsigned long port)
{
return 0xFFFF;
}
static void ide_unplugged_insw (unsigned long port, void *addr, u32 count)
{
}
static u32 ide_unplugged_inl (unsigned long port)
{
return 0xFFFFFFFF;
}
static void ide_unplugged_insl (unsigned long port, void *addr, u32 count)
{
}
static void ide_unplugged_outb (u8 val, unsigned long port)
{
}
static void ide_unplugged_outbsync (ide_drive_t *drive, u8 addr, unsigned long port)
{
}
static void ide_unplugged_outw (u16 val, unsigned long port)
{
}
static void ide_unplugged_outsw (unsigned long port, void *addr, u32 count)
{
}
static void ide_unplugged_outl (u32 val, unsigned long port)
{
}
static void ide_unplugged_outsl (unsigned long port, void *addr, u32 count)
{
}
void unplugged_hwif_iops (ide_hwif_t *hwif)
{
hwif->OUTB = ide_unplugged_outb;
hwif->OUTBSYNC = ide_unplugged_outbsync;
hwif->OUTW = ide_unplugged_outw;
hwif->OUTL = ide_unplugged_outl;
hwif->OUTSW = ide_unplugged_outsw;
hwif->OUTSL = ide_unplugged_outsl;
hwif->INB = ide_unplugged_inb;
hwif->INW = ide_unplugged_inw;
hwif->INL = ide_unplugged_inl;
hwif->INSW = ide_unplugged_insw;
hwif->INSL = ide_unplugged_insl;
}
EXPORT_SYMBOL(unplugged_hwif_iops);
/*
* Conventional PIO operations for ATA devices
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment