Re: [2.6 patch] remove duplicate includes (fwd)

From: Randy.Dunlap
Date: Fri Oct 29 2004 - 17:58:45 EST


Dave Jones wrote:
On Fri, Oct 29, 2004 at 11:47:17PM +0200, Adrian Bunk wrote:

> --- linux-2.6.9-mm1-full/drivers/cpufreq/cpufreq_ondemand.c.old 2004-10-22 21:37:33.000000000 +0200
> +++ linux-2.6.9-mm1-full/drivers/cpufreq/cpufreq_ondemand.c 2004-10-22 21:52:35.000000000 +0200
> @@ -26,7 +26,6 @@
> #include <linux/kmod.h>
> #include <linux/workqueue.h>
> #include <linux/jiffies.h>
> -#include <linux/config.h>
> #include <linux/kernel_stat.h>
> #include <linux/percpu.h>

Not only was this duplicated, but its also unnecessary as
there are no CONFIG_ options in that file.
You may want to add that checking to your script too.

That's 'make configcheck'...

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/