Skip to contentSkip to conversation

PATCH: Remove rio_table.c unused code

PATCH Alan Cox 1 participant 1 message Jan 16, 2006 Char and misc drivers

lore
Share & tools
lore

Alan Cox

author
#0 lore raw
drivers/char/rio/riotable.c +0 -8
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.15-git12/drivers/char/rio/riotable.c linux-2.6.15-git12/drivers/char/rio/riotable.c
@@ -754,11 +754,6 @@
 	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 @@
 
 		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");
 
 		/*