kconfig: remove unused PACKAGE definition
PATCH 1/2 kconfig: remove unused PACKAGE definition
Commit 3b9fa0931dd8 ("[PATCH] Kconfig i18n support") added this code, and then commit ("kconfig: drop localization support") removed the i18n support entirely.
Remove the left-over.
Signed-off-by Masahiro Yamada <[email protected]>
---
scripts/kconfig/lkc.h | 4 ---- 1 file changed, 4 deletions(-)
scripts/kconfig/lkc.h +0 -4
@@ -20,10 +20,6 @@ extern "C" {#define SRCTREE "srctree" -#ifndef PACKAGE -#define PACKAGE "linux" -#endif -#ifndef CONFIG_ #define CONFIG_ "CONFIG_"#endif
Signature · 1 line
2.27.0
PATCH 2/2 kconfig: gconf: remove unused code
Remove the unused <config.h> inclusion, and commented out lines.
Signed-off-by Masahiro Yamada <[email protected]>
---
scripts/kconfig/gconf.c | 7 ------- 1 file changed, 7 deletions(-)
scripts/kconfig/gconf.c +0 -7
@@ -3,10 +3,6 @@* Copyright (C) 2002-2003 Romain Lievin <[email protected]> */ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif -#include <stdlib.h> #include "lkc.h" #include "images.h"
@@ -1452,9 +1448,6 @@ int main(int ac, char *av[])gtk_init (&ac, &av);glade_init (); -//add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps"); -//add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps"); -/* Determine GUI path */ env =getenv (SRCTREE );if (env)
Signature · 1 line
2.27.0
Quoted 9 lines · Masahiro Yamada
Commit
3b9fa0931dd8("[PATCH]Kconfigi18n support") added this code, and then commit ("kconfig: drop localization support") removed the i18n support entirely.Remove the left-over.
Signed-off-by Masahiro Yamada <[email protected]>---
Both applied to linux-kbuild.
Signature · 2 lines
Best Regards Masahiro Yamada