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