From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753488AbcAJFf2 (ORCPT ); Sun, 10 Jan 2016 00:35:28 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35195 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750893AbcAJFf1 (ORCPT ); Sun, 10 Jan 2016 00:35:27 -0500 From: Peter Hurley To: Greg Kroah-Hartman Cc: Jiri Slaby , linux-kernel@vger.kernel.org, Peter Hurley Subject: [PATCH v2 0/6] tty globals cleanup (cont'd) Date: Sat, 9 Jan 2016 21:35:17 -0800 Message-Id: <1452404123-9024-1-git-send-email-peter@hurleysoftware.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1448678317-9093-1-git-send-email-peter@hurleysoftware.com> References: <1448678317-9093-1-git-send-email-peter@hurleysoftware.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Regards, 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(-) -- 2.7.0