[PATCH] Remove rio_table.c unused code
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 16 Jan 2006 17:25:42 +0000 (17:25 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Jan 2006 07:31:28 +0000 (23:31 -0800)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/rio/riotable.c

index 42c3dff..a86b216 100644 (file)
@@ -754,11 +754,6 @@ struct Map *HostMapP;
        ushort RtaType;
        unsigned long flags;
 
-#ifdef CHECK
-       CheckHostP(HostP);
-       CheckHostMapP(HostMapP);
-#endif
-
        rio_dprintk(RIO_DEBUG_TABLE, "Mapping sysport %d to id %d\n", (int) HostMapP->SysPort, HostMapP->ID);
 
        /*
@@ -784,9 +779,6 @@ struct Map *HostMapP;
 
                rio_dprintk(RIO_DEBUG_TABLE, "c1 p = %p, p->rioPortp = %p\n", p, p->RIOPortp);
                PortP = p->RIOPortp[SysPort];
-#if 0
-               PortP->TtyP = &p->channel[SysPort];
-#endif
                rio_dprintk(RIO_DEBUG_TABLE, "Map port\n");
 
                /*