[PATCH] Remove unused code from rioroute.h

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Alan Cox and committed by Linus Torvalds 8b03de1f f099bfb7

-24
-24
drivers/char/rio/rioroute.c
··· 112 112 int Lies; 113 113 unsigned long flags; 114 114 115 - #ifdef STACK 116 - RIOStackCheck("RIORouteRup"); 117 - #endif 118 - #ifdef CHECK 119 - CheckPacketP(PacketP); 120 - CheckHostP(HostP); 121 - CheckRup(Rup); 122 - CheckHost(Host); 123 - #endif 124 115 /* 125 116 ** Is this unit telling us it's current link topology? 126 117 */ ··· 531 540 532 541 for (port = 0; port < PORTS_PER_RTA; port++, PortN++) { 533 542 ushort dest_port = port + 8; 534 - #if 0 535 - uint PktInt; 536 - #endif 537 543 WORD *TxPktP; 538 544 PKT *Pkt; 539 545 ··· 611 623 unsigned long flags; 612 624 rio_spin_lock_irqsave(&HostP->HostLock, flags); 613 625 614 - #ifdef CHECK 615 - CheckHostP(HostP); 616 - CheckUnitId(UnitId); 617 - #endif 618 626 if (RIOCheck(HostP, UnitId)) { 619 627 rio_dprintk(RIO_DEBUG_ROUTE, "Unit %d is NOT isolated\n", UnitId); 620 628 rio_spin_unlock_irqrestore(&HostP->HostLock, flags); ··· 635 651 { 636 652 uint link, unit; 637 653 638 - #ifdef CHECK 639 - CheckHostP(HostP); 640 - CheckUnitId(UnitId); 641 - #endif 642 654 UnitId--; /* this trick relies on the Unit Id being UNSIGNED! */ 643 655 644 656 if (UnitId >= MAX_RUP) /* dontcha just lurv unsigned maths! */ ··· 664 684 { 665 685 unsigned char link; 666 686 667 - #ifdef CHECK 668 - CheckHostP(HostP); 669 - CheckUnitId(UnitId); 670 - #endif 671 687 /* rio_dprint(RIO_DEBUG_ROUTE, ("Check to see if unit %d has a route to the host\n",UnitId)); */ 672 688 rio_dprintk(RIO_DEBUG_ROUTE, "RIOCheck : UnitID = %d\n", UnitId); 673 689