mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
proc: remove proc_bus
Remove proc_bus export and variable itself. Using pathnames works fine and is slightly more understandable and greppable. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5e971dce0b
commit
9c37066d88
10 changed files with 14 additions and 17 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include "internal.h"
|
||||
|
||||
struct proc_dir_entry *proc_bus, *proc_root_fs, *proc_root_driver;
|
||||
struct proc_dir_entry *proc_root_fs, *proc_root_driver;
|
||||
|
||||
static int proc_test_super(struct super_block *sb, void *data)
|
||||
{
|
||||
|
|
@ -137,7 +137,7 @@ void __init proc_root_init(void)
|
|||
#ifdef CONFIG_PROC_DEVICETREE
|
||||
proc_device_tree_init();
|
||||
#endif
|
||||
proc_bus = proc_mkdir("bus", NULL);
|
||||
proc_mkdir("bus", NULL);
|
||||
proc_sys_init();
|
||||
}
|
||||
|
||||
|
|
@ -236,5 +236,4 @@ EXPORT_SYMBOL(proc_create);
|
|||
EXPORT_SYMBOL(remove_proc_entry);
|
||||
EXPORT_SYMBOL(proc_root);
|
||||
EXPORT_SYMBOL(proc_root_fs);
|
||||
EXPORT_SYMBOL(proc_bus);
|
||||
EXPORT_SYMBOL(proc_root_driver);
|
||||
|
|
|
|||
Loading…
Reference in a new issue