From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932504AbWDOMfb (ORCPT ); Sat, 15 Apr 2006 08:35:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932505AbWDOMfb (ORCPT ); Sat, 15 Apr 2006 08:35:31 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:17166 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S932504AbWDOMfa (ORCPT ); Sat, 15 Apr 2006 08:35:30 -0400 Date: Sat, 15 Apr 2006 14:35:27 +0200 From: Adrian Bunk To: adaplas@pol.net Cc: linux-fbdev-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [2.6 patch] drivers/video/: remove duplicate #include's Message-ID: <20060415123527.GG15022@stusta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11+cvs20060403 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This patch removes unneeded duplicate #include's of the same header file. In the case of fbmon.c linux/pci.h is now #include'd unconditional, but this should be safe. Signed-off-by: Adrian Bunk --- drivers/video/fbmem.c | 2 -- drivers/video/fbmon.c | 3 +-- drivers/video/tgafb.c | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) --- linux-2.6.17-rc1-mm2-full/drivers/video/fbmem.c.old 2006-04-15 14:07:45.000000000 +0200 +++ linux-2.6.17-rc1-mm2-full/drivers/video/fbmem.c 2006-04-15 14:08:09.000000000 +0200 @@ -34,7 +34,6 @@ #endif #include #include -#include #include #include @@ -162,7 +161,6 @@ } #ifdef CONFIG_LOGO -#include static inline unsigned safe_shift(unsigned d, int n) { --- linux-2.6.17-rc1-mm2-full/drivers/video/fbmon.c.old 2006-04-15 14:08:24.000000000 +0200 +++ linux-2.6.17-rc1-mm2-full/drivers/video/fbmon.c 2006-04-15 14:09:17.000000000 +0200 @@ -29,9 +29,9 @@ #include #include #include +#include #include