Skip to content

Commit 82a2a51

Browse files
committed
Merge tag 'sysctl-6.5-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux
Pull sysctl fix from Luis Chamberlain: "A missed minor fix which Matthieu Baerts noted I had not picked up" * tag 'sysctl-6.5-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux: sysctl: fix unused proc_cap_handler() function warning
2 parents 43ec8a6 + 554588e commit 82a2a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/umh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ int call_usermodehelper(const char *path, char **argv, char **envp, int wait)
494494
}
495495
EXPORT_SYMBOL(call_usermodehelper);
496496

497+
#if defined(CONFIG_SYSCTL)
497498
static int proc_cap_handler(struct ctl_table *table, int write,
498499
void *buffer, size_t *lenp, loff_t *ppos)
499500
{
@@ -544,7 +545,6 @@ static int proc_cap_handler(struct ctl_table *table, int write,
544545
return 0;
545546
}
546547

547-
#if defined(CONFIG_SYSCTL)
548548
static struct ctl_table usermodehelper_table[] = {
549549
{
550550
.procname = "bset",

0 commit comments

Comments
 (0)