Skip to contentSkip to conversation

Kill unused variables in the tty code

PATCH New Geert Uytterhoeven 1 participant 1 message Jan 7, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kill unused variables in the tty code

Kill unused variables in the tty code

drivers/char/tty_io.c +0 -1
@@ -480,7 +480,6 @@
 	int	retval = 0;
 	struct	tty_ldisc o_ldisc;
 	char buf[64];
-	int work;
 	unsigned long flags;
 	struct tty_ldisc *ld;
 
drivers/char/tty_ioctl.c +0 -1
@@ -387,7 +387,6 @@
 	struct tty_struct * real_tty;
 	int retval;
 	struct tty_ldisc *ld;
-	unsigned long flags;
 
 	if (tty->driver.type == TTY_DRIVER_TYPE_PTY &&
 	    tty->driver.subtype == PTY_TYPE_MASTER)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds