2008-08-16 23:51:43

by Huang Weiyi

[permalink] [raw]
Subject: [MMC] removed unused #include <version.h>

The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
drivers/mmc/host/sdricoh_cs.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <[email protected]>

diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c
index f99e9f7..1df44d9 100644
--- a/drivers/mmc/host/sdricoh_cs.c
+++ b/drivers/mmc/host/sdricoh_cs.c
@@ -29,7 +29,6 @@
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/scatterlist.h>
-#include <linux/version.h>

#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>


2008-08-17 18:02:52

by Pierre Ossman

[permalink] [raw]
Subject: Re: [MMC] removed unused #include <version.h>

On Sun, 17 Aug 2008 07:51:10 +0800
Huang Weiyi <[email protected]> wrote:

> The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
> drivers/mmc/host/sdricoh_cs.c
>
> This patch removes the said #include <version.h>.
>
> Signed-off-by: Huang Weiyi <[email protected]>
>

This was a really trivial patch, so I've applied it. But you really
should cc the driver maintainer in the future.

--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.