Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: Remove unused TTY_NUMBER() macro

TTY_NUMBER() has been unused since v2.5.71; removed by
"[PATCH] callout removal: callout is gone".

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Peter Hurley and committed by
Greg Kroah-Hartman
0f0380b6 af224ca2

-3
-3
drivers/tty/tty_io.c
··· 230 230 tty_free_file(file); 231 231 } 232 232 233 - 234 - #define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base) 235 - 236 233 /** 237 234 * tty_name - return tty naming 238 235 * @tty: tty structure