mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PATCH: Remove rio_table.c unused code
@ 2006-01-16 17:25 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2006-01-16 17:25 UTC (permalink / raw)
  To: linux-kernel, torvalds

Signed-off-by: Alan Cox <alan@redhat.com>

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
--- linux.vanilla-2.6.15-git12/drivers/char/rio/riotable.c	2006-01-16 14:19:13.000000000 +0000
+++ linux-2.6.15-git12/drivers/char/rio/riotable.c	2006-01-16 16:23:09.574952384 +0000
@@ -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");
 
 		/*


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-16 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-16 17:25 PATCH: Remove rio_table.c unused code Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®