[PATCH v2 0/6] tty globals cleanup (cont'd)

From: Peter Hurley
Date: Sun Jan 10 2016 - 00:35:38 EST

Changes from v2: rebased on top of current tty-next

original message follows:

Hi Greg,

This patch series is part of the ongoing effort to cleanup and reduce the
kernel tty interface; specifically removing undefined function declarations,
unused macros, encapsulating global data, undefining unused exports,
limiting functions and data to file scope, etc.


Peter Hurley (6):
tty: Unexport system-wide tty_mutex
tty: Eliminate global symbol tty_ldisc_N_TTY
tty: Remove declarations to non-existent functions
tty: Move tty_check_change() helper
tty: Remove unreferenced tty flags macro TTY_DEBUG
tty: Make tty_files_lock per-tty

drivers/tty/n_tty.c | 18 ++++++++----------
drivers/tty/tty_io.c | 37 ++++++++++++++++++++-----------------
drivers/tty/tty_ldisc.c | 6 ------
include/linux/tty.h | 10 ++--------
security/selinux/hooks.c | 4 ++--
5 files changed, 32 insertions(+), 43 deletions(-)