From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753682Ab1KPP16 (ORCPT ); Wed, 16 Nov 2011 10:27:58 -0500 Received: from mail.pripojeni.net ([178.22.112.14]:52989 "EHLO smtp.pripojeni.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384Ab1KPP1Q (ORCPT ); Wed, 16 Nov 2011 10:27:16 -0500 From: Jiri Slaby To: gregkh@suse.de Cc: linux-kernel@vger.kernel.org, jirislaby@gmail.com, Alan Cox Subject: [PATCH 4/5] TTY: ldisc, remove some unneeded includes Date: Wed, 16 Nov 2011 16:27:10 +0100 Message-Id: <1321457231-9154-4-git-send-email-jslaby@suse.cz> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1321457231-9154-1-git-send-email-jslaby@suse.cz> References: <1321457231-9154-1-git-send-email-jslaby@suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org They were cut&pasted from tty_io. Many of them are not needed in tty_ldisc. Signed-off-by: Jiri Slaby Cc: Greg Kroah-Hartman Cc: Alan Cox --- drivers/tty/tty_ldisc.c | 22 ++-------------------- 1 files changed, 2 insertions(+), 20 deletions(-) diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index 8e0924f..6b344ae 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c @@ -1,19 +1,11 @@ #include -#include #include -#include -#include +#include #include #include #include #include -#include -#include #include -#include -#include -#include -#include #include #include #include @@ -24,19 +16,9 @@ #include #include #include -#include #include - -#include -#include - -#include -#include -#include - -#include -#include #include +#include /* * This guards the refcounted line discipline lists. The lock -- 1.7.7.3