[PATCH] Remove unused code from rioboot.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 f099bfb7 c7306c02

-61
-61
drivers/char/rio/rioboot.c
··· 665 struct CmdBlk *CmdBlkP; 666 uint sequence; 667 668 - #ifdef CHECK 669 - CheckHost(Host); 670 - CheckRup(Rup); 671 - CheckHostP(HostP); 672 - CheckPacketP(PacketP); 673 - #endif 674 - 675 /* 676 ** If we haven't been told what to boot, we can't boot it. 677 */ ··· 949 MyType = "RTA"; 950 MyName = HostP->Mapping[Rup].Name; 951 } 952 - #ifdef CHECK 953 - CheckString(MyType); 954 - CheckString(MyName); 955 - #endif 956 - 957 MyLink = RBYTE(PktCmdP->LinkNum); 958 959 /* ··· 1297 } 1298 } 1299 1300 - #if 0 1301 - /* 1302 - Function: This function is to disable the disk interrupt 1303 - Returns : Nothing 1304 - */ 1305 - void 1306 - disable_interrupt(vector) 1307 - int vector; 1308 - { 1309 - int ps; 1310 - int val; 1311 - 1312 - disable(ps); 1313 - if (vector > 40) { 1314 - val = 1 << (vector - 40); 1315 - __outb(S8259+1, __inb(S8259+1) | val); 1316 - } 1317 - else { 1318 - val = 1 << (vector - 32); 1319 - __outb(M8259+1, __inb(M8259+1) | val); 1320 - } 1321 - restore(ps); 1322 - } 1323 - 1324 - /* 1325 - Function: This function is to enable the disk interrupt 1326 - Returns : Nothing 1327 - */ 1328 - void 1329 - enable_interrupt(vector) 1330 - int vector; 1331 - { 1332 - int ps; 1333 - int val; 1334 - 1335 - disable(ps); 1336 - if (vector > 40) { 1337 - val = 1 << (vector - 40); 1338 - val = ~val; 1339 - __outb(S8259+1, __inb(S8259+1) & val); 1340 - } 1341 - else { 1342 - val = 1 << (vector - 32); 1343 - val = ~val; 1344 - __outb(M8259+1, __inb(M8259+1) & val); 1345 - } 1346 - restore(ps); 1347 - } 1348 - #endif
··· 665 struct CmdBlk *CmdBlkP; 666 uint sequence; 667 668 /* 669 ** If we haven't been told what to boot, we can't boot it. 670 */ ··· 956 MyType = "RTA"; 957 MyName = HostP->Mapping[Rup].Name; 958 } 959 MyLink = RBYTE(PktCmdP->LinkNum); 960 961 /* ··· 1309 } 1310 } 1311