aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2025-07-17 08:24:12 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2025-07-26 19:55:37 +0900
commit5ceb15fdc629aa3030e8f8987c561d36678f9559 (patch)
treed934cc84e277a2db2e3a232247725c606da9aa40
parentkconfig: gconf: use hyphens in signals (diff)
downloadlinux-5ceb15fdc629aa3030e8f8987c561d36678f9559.tar.gz
linux-5ceb15fdc629aa3030e8f8987c561d36678f9559.zip
kconfig: gconf: remove unneeded variable in text_insert_msg
The 'msg' and 'message' refer to the same pointer. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rw-r--r--scripts/kconfig/gconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index e4f89270d19f..651140af7d13 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -90,11 +90,10 @@ static void text_insert_help(struct menu *menu)
}
-static void text_insert_msg(const char *title, const char *message)
+static void text_insert_msg(const char *title, const char *msg)
{
GtkTextBuffer *buffer;
GtkTextIter start, end;
- const char *msg = message;
buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w));
gtk_text_buffer_get_bounds(buffer, &start, &end);