mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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>
This commit is contained in:
parent
93487b17b1
commit
ecdb733f8f
@ -631,13 +631,12 @@ static int item_is_tag(char tag)
|
|||||||
|
|
||||||
static char filename[PATH_MAX+1];
|
static char filename[PATH_MAX+1];
|
||||||
static char menu_backtitle[PATH_MAX+128];
|
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",
|
snprintf(menu_backtitle, sizeof(menu_backtitle), "%s - %s",
|
||||||
config_filename, rootmenu.prompt->text);
|
config_filename, rootmenu.prompt->text);
|
||||||
|
|
||||||
snprintf(filename, sizeof(filename), "%s", config_filename);
|
snprintf(filename, sizeof(filename), "%s", config_filename);
|
||||||
return menu_backtitle;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* return = 0 means we are successful.
|
/* return = 0 means we are successful.
|
||||||
|
Loading…
Reference in New Issue
Block a user