[PATCH] Remove long dead #if 0 code from rio_param

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 925d70d6 09979236

-43
-43
drivers/char/rio/rioparam.c
··· 195 195 ** paramed with OPEN, we want to restore the saved port termio, but 196 196 ** only if StoredTermio has been saved, i.e. NOT 1st open after reboot. 197 197 */ 198 - #if 0 199 - if (PortP->FirstOpen) { 200 - PortP->StoredTty.iflag = TtyP->tm.c_iflag; 201 - PortP->StoredTty.oflag = TtyP->tm.c_oflag; 202 - PortP->StoredTty.cflag = TtyP->tm.c_cflag; 203 - PortP->StoredTty.lflag = TtyP->tm.c_lflag; 204 - PortP->StoredTty.line = TtyP->tm.c_line; 205 - for (i = 0; i < NCC + 5; i++) 206 - PortP->StoredTty.cc[i] = TtyP->tm.c_cc[i]; 207 - PortP->FirstOpen = 0; 208 - } else if (PortP->Store || PortP->Lock) { 209 - rio_dprintk(RIO_DEBUG_PARAM, "OPEN: Restoring stored/locked params\n"); 210 - TtyP->tm.c_iflag = PortP->StoredTty.iflag; 211 - TtyP->tm.c_oflag = PortP->StoredTty.oflag; 212 - TtyP->tm.c_cflag = PortP->StoredTty.cflag; 213 - TtyP->tm.c_lflag = PortP->StoredTty.lflag; 214 - TtyP->tm.c_line = PortP->StoredTty.line; 215 - for (i = 0; i < NCC + 5; i++) 216 - TtyP->tm.c_cc[i] = PortP->StoredTty.cc[i]; 217 - } 218 - #endif 219 198 } 220 199 221 200 /* ··· 251 272 252 273 phb_param_ptr = (struct phb_param *) PacketP->data; 253 274 254 - 255 - #if 0 256 - /* 257 - ** COR 1 258 - */ 259 - if (TtyP->tm.c_iflag & INPCK) { 260 - rio_dprintk(RIO_DEBUG_PARAM, "Parity checking on input enabled\n"); 261 - Cor1 |= COR1_INPCK; 262 - } 263 - #endif 264 275 265 276 switch (TtyP->termios->c_cflag & CSIZE) { 266 277 case CS5: ··· 493 524 if (TtyP->termios->c_cflag & XMT1EN) 494 525 rio_dprintk(RIO_DEBUG_PARAM, "XMT1EN (?)\n"); 495 526 #endif 496 - #if 0 497 - if (TtyP->termios->c_cflag & LOBLK) 498 - rio_dprintk(RIO_DEBUG_PARAM, "LOBLK - JCL output blocks when not current\n"); 499 - #endif 500 527 if (TtyP->termios->c_lflag & ISIG) 501 528 rio_dprintk(RIO_DEBUG_PARAM, "Input character signal generating enabled\n"); 502 529 if (TtyP->termios->c_lflag & ICANON) ··· 537 572 rio_dprintk(RIO_DEBUG_PARAM, "Carriage return delay set\n"); 538 573 if (TtyP->termios->c_oflag & TABDLY) 539 574 rio_dprintk(RIO_DEBUG_PARAM, "Tab delay set\n"); 540 - #if 0 541 - if (TtyP->termios->c_oflag & BSDLY) 542 - rio_dprintk(RIO_DEBUG_PARAM, "Back-space delay set\n"); 543 - if (TtyP->termios->c_oflag & VTDLY) 544 - rio_dprintk(RIO_DEBUG_PARAM, "Vertical tab delay set\n"); 545 - if (TtyP->termios->c_oflag & FFDLY) 546 - rio_dprintk(RIO_DEBUG_PARAM, "Form-feed delay set\n"); 547 - #endif 548 575 /* 549 576 ** These things are kind of useful in a later life! 550 577 */