diff -urN oldtree/drivers/char/tty_io.c newtree/drivers/char/tty_io.c --- oldtree/drivers/char/tty_io.c 2006-08-18 15:01:22.000000000 -0400 +++ newtree/drivers/char/tty_io.c 2006-08-19 17:01:09.604920250 -0400 @@ -160,17 +160,11 @@ * been initialized in any way but has been zeroed * * Locking: none - * FIXME: use kzalloc */ static struct tty_struct *alloc_tty_struct(void) { - struct tty_struct *tty; - - tty = kmalloc(sizeof(struct tty_struct), GFP_KERNEL); - if (tty) - memset(tty, 0, sizeof(struct tty_struct)); - return tty; + return (struct tty_struct *)kzalloc(sizeof(struct tty_struct), GFP_KERNEL); } static void tty_buffer_free_all(struct tty_struct *);