summaryrefslogtreecommitdiff
path: root/scripts/kconfig/nconf.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-12 04:12:25 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-14 09:25:43 +0300
commitecdb733f8fa843f632f4306939a5c3704be4a2dd (patch)
tree3ea9f3da15780b68ec1931e720d63dab2cd6e591 /scripts/kconfig/nconf.c
parent93487b17b147f22400378240d06f33badc3368da (diff)
downloadlinux-ecdb733f8fa843f632f4306939a5c3704be4a2dd.tar.xz
kconfig: nconf: change set_config_filename() to void function
No one uses the return value of this function. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/nconf.c')
-rw-r--r--scripts/kconfig/nconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index e86d3511b939..d8a6ab5fb521 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -631,13 +631,12 @@ static int item_is_tag(char tag)
static char filename[PATH_MAX+1];
static char menu_backtitle[PATH_MAX+128];
-static const char *set_config_filename(const char *config_filename)
+static void set_config_filename(const char *config_filename)
{
snprintf(menu_backtitle, sizeof(menu_backtitle), "%s - %s",
config_filename, rootmenu.prompt->text);
snprintf(filename, sizeof(filename), "%s", config_filename);
- return menu_backtitle;
}
/* return = 0 means we are successful.