From: Peter Hurley Date: Sun, 10 Apr 2016 03:36:38 +0000 (-0700) Subject: tty: Remove unused TTY_NUMBER() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f0380b6177ab628b9e7c5a566dcdb3889e38dcb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 320dc4da7162..3cdd63b4a055 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -230,9 +230,6 @@ static void tty_del_file(struct file *file) tty_free_file(file); } - -#define TTY_NUMBER(tty) ((tty)->index + (tty)->driver->name_base) - /** * tty_name - return tty naming * @tty: tty structure