Commit 71705c61 authored by Simon Geis's avatar Simon Geis Committed by Dominik Brodowski

PCMCIA/i82092: remove #if 0 block

Remove the unused function indirect_read16, which
is similar to indirect_read with the exception that
it reads 16 instead of 8 bit.
Co-developed-by: default avatarLukas Panzer <lukas.panzer@fau.de>
Signed-off-by: default avatarLukas Panzer <lukas.panzer@fau.de>
Signed-off-by: default avatarSimon Geis <simon.geis@fau.de>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 52739f06
...@@ -200,26 +200,6 @@ static unsigned char indirect_read(int socket, unsigned short reg) ...@@ -200,26 +200,6 @@ static unsigned char indirect_read(int socket, unsigned short reg)
return val; return val;
} }
#if 0
static unsigned short indirect_read16(int socket, unsigned short reg)
{
unsigned short int port;
unsigned short tmp;
unsigned long flags;
spin_lock_irqsave(&port_lock, flags);
reg = reg + socket * 0x40;
port = sockets[socket].io_base;
outb(reg, port);
tmp = inb(port+1);
reg++;
outb(reg, port);
tmp = tmp | (inb(port+1)<<8);
spin_unlock_irqrestore(&port_lock, flags);
return tmp;
}
#endif
static void indirect_write(int socket, unsigned short reg, unsigned char value) static void indirect_write(int socket, unsigned short reg, unsigned char value)
{ {
unsigned short int port; unsigned short int port;
......
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