Skip to contentSkip to conversation

unexport pm_power_off_prepare

PATCH In review Adrian Bunk 2 participants 3 messages Jul 29, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unexport pm_power_off_prepare

This patch removes the unused EXPORT_SYMBOL(pm_power_off_prepare).

---

kernel/sys.c renamed from kernel/sys.c.old +0 -1
@@ -104,7 +104,6 @@ EXPORT_SYMBOL(cad_pid);
  */
 
 void (*pm_power_off_prepare)(void);
-EXPORT_SYMBOL(pm_power_off_prepare);
 
 static int set_one_prio(struct task_struct *p, int niceval, int error)
 {
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Adrian Bunk

This patch removes the unused EXPORT_SYMBOL(pm_power_off_prepare).

Quoted 14 lines

---

kernel/sys.c renamed from kernel/sys.c.old +0 -1
@@ -104,7 +104,6 @@ EXPORT_SYMBOL(cad_pid);
  */
 
 void (*pm_power_off_prepare)(void);
-EXPORT_SYMBOL(pm_power_off_prepare);
 
 static int set_one_prio(struct task_struct *p, int niceval, int error)
 {
Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth
Acked-by on v1 1/1
#2 lore raw
In reply to Adrian Bunk
Quoted 3 lines · Adrian Bunk

This patch removes the unused EXPORT_SYMBOL(pm_power_off_prepare).

Quoted 14 lines

---

kernel/sys.c renamed from kernel/sys.c.old +0 -1
@@ -104,7 +104,6 @@ EXPORT_SYMBOL(cad_pid);
  */
 
 void (*pm_power_off_prepare)(void);
-EXPORT_SYMBOL(pm_power_off_prepare);
 
 static int set_one_prio(struct task_struct *p, int niceval, int error)
 {
Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth