Linux kbuild/kconfig development
 help / color / mirror / Atom feed
* [PATCH 1/2] kconfig: remove unused PACKAGE definition
@ 2021-04-17 14:50 Masahiro Yamada
  2021-04-17 14:50 ` [PATCH 2/2] kconfig: gconf: remove unused code Masahiro Yamada
  2021-04-19  6:00 ` [PATCH 1/2] kconfig: remove unused PACKAGE definition Masahiro Yamada
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2021-04-17 14:50 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Masahiro Yamada, linux-kernel

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 <masahiroy@kernel.org>
---

 scripts/kconfig/lkc.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 45599c52478d..fa8c010aa683 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -20,10 +20,6 @@ extern "C" {
 
 #define SRCTREE "srctree"
 
-#ifndef PACKAGE
-#define PACKAGE "linux"
-#endif
-
 #ifndef CONFIG_
 #define CONFIG_ "CONFIG_"
 #endif
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] kconfig: gconf: remove unused code
  2021-04-17 14:50 [PATCH 1/2] kconfig: remove unused PACKAGE definition Masahiro Yamada
@ 2021-04-17 14:50 ` Masahiro Yamada
  2021-04-19  6:00 ` [PATCH 1/2] kconfig: remove unused PACKAGE definition Masahiro Yamada
  1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2021-04-17 14:50 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Masahiro Yamada, linux-kernel

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

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 scripts/kconfig/gconf.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 5527482c3077..7698eea6fb6e 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -3,10 +3,6 @@
  * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info>
  */
 
-#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)
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] kconfig: remove unused PACKAGE definition
  2021-04-17 14:50 [PATCH 1/2] kconfig: remove unused PACKAGE definition Masahiro Yamada
  2021-04-17 14:50 ` [PATCH 2/2] kconfig: gconf: remove unused code Masahiro Yamada
@ 2021-04-19  6:00 ` Masahiro Yamada
  1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2021-04-19  6:00 UTC (permalink / raw)
  To: Linux Kbuild mailing list; +Cc: Linux Kernel Mailing List

On Sat, Apr 17, 2021 at 11:51 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> 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 <masahiroy@kernel.org>
> ---

Both applied to linux-kbuild.


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-19  6:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-17 14:50 [PATCH 1/2] kconfig: remove unused PACKAGE definition Masahiro Yamada
2021-04-17 14:50 ` [PATCH 2/2] kconfig: gconf: remove unused code Masahiro Yamada
2021-04-19  6:00 ` [PATCH 1/2] kconfig: remove unused PACKAGE definition Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox