kconfig: do not define AUTOCONF_INCLUDED
authorArnaud Lacombe <lacombar@gmail.com>
Sun, 5 Dec 2010 06:31:57 +0000 (01:31 -0500)
committerMichal Marek <mmarek@suse.cz>
Wed, 15 Dec 2010 12:38:25 +0000 (13:38 +0100)
AUTOCONF_INCLUDED is not checked is not used within the tree and its parent
header, `autoconf.h', is safe to be re-included.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c

index 9df8011..f349bdc 100644 (file)
@@ -833,8 +833,7 @@ int conf_write_autoconf(void)
                       " * Automatically generated C config: don't edit\n"
                       " * %s\n"
                       " * %s"
-                      " */\n"
-                      "#define AUTOCONF_INCLUDED\n",
+                      " */\n",
                       rootmenu.prompt->text, ctime(&now));
 
        for_all_symbols(i, sym) {