[RFC: 2.6 patch] kernel/sys.c: remove unused exports

Adrian Bunk
2006-05-16T17:44:46Z

This patch removes the following unused exports:
- EXPORT_SYMBOL:
- in_egroup_p
- EXPORT_SYMBOL_GPL's:
- kernel_restart
- kernel_halt

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

kernel/sys.c | 5 -----
1 file changed, 5 deletions(-)

--- linux-2.6.17-rc4-mm1-full/kernel/sys.c.old 2006-05-16 14:20:27.000000000 +0200
+++ linux-2.6.17-rc4-mm1-full/kernel/sys.c 2006-05-16 14:20:47.000000000 +0200
@@ -615,7 +615,6 @@
printk(".\n");
machine_restart(cmd);
}
-EXPORT_SYMBOL_GPL(kernel_restart);

/**
* kernel_kexec - reboot the system
@@ -657,8 +656,6 @@
machine_halt();
}

-EXPORT_SYMBOL_GPL(kernel_halt);
-
/**
* kernel_power_off - power_off the system
*
@@ -1665,8 +1662,6 @@
return retval;
}

-EXPORT_SYMBOL(in_egroup_p);
-
DECLARE_RWSEM(uts_sem);

EXPORT_SYMBOL(uts_sem);