2023-06-02 11:10:33

by Joel Granados

[permalink] [raw]
Subject: [PATCH 7/8] sysctl: Remove debugging dump_stack

Remove unneeded dump_stack in __register_sysctl_table

Signed-off-by: Joel Granados <[email protected]>
---
fs/proc/proc_sysctl.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index 8873812d22f3..07804097f997 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -1406,7 +1406,6 @@ struct ctl_table_header *__register_sysctl_table(
spin_unlock(&sysctl_lock);
fail:
kfree(header);
- dump_stack();
return NULL;
}

--
2.30.2