Skip to contentSkip to conversation

kconfig: remove unused PACKAGE definition

PATCH In review Masahiro Yamada 1 participant 3 messages Apr 17, 2021 – Apr 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---

 scripts/kconfig/lkc.h | 4 ----
 1 file changed, 4 deletions(-)
scripts/kconfig/lkc.h +0 -4
index 45599c52478d..fa8c010aa683 100644
@@ -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
#1 lore raw

PATCH 2/2 kconfig: gconf: remove unused code

Remove the unused <config.h> inclusion, and commented out lines.

---

 scripts/kconfig/gconf.c | 7 -------
 1 file changed, 7 deletions(-)
scripts/kconfig/gconf.c +0 -7
index 5527482c3077..7698eea6fb6e 100644
@@ -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