From: Adrian Bunk Date: Mon, 26 Jun 2006 07:26:28 +0000 (-0700) Subject: [PATCH] fbdev: Remove duplicate #include's X-Git-Tag: v2.6.18-rc1~721 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22f4a00fd5207a107fb81984f7b4cc09e5047b45;p=profile%2Fivi%2Fkernel-x86-ivi.git [PATCH] fbdev: Remove duplicate #include's Remove 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 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 372aa17..9bb6763 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c @@ -34,7 +34,6 @@ #endif #include #include -#include #include #include @@ -162,7 +161,6 @@ char* fb_get_buffer_offset(struct fb_info *info, struct fb_pixmap *buf, u32 size } #ifdef CONFIG_LOGO -#include static inline unsigned safe_shift(unsigned d, int n) { diff --git a/drivers/video/fbmon.c b/drivers/video/fbmon.c index 53beeb4..fbbcb71 100644 --- a/drivers/video/fbmon.c +++ b/drivers/video/fbmon.c @@ -29,9 +29,9 @@ #include #include #include +#include #include