[2.6 patch] drivers/base/power/runtime.c: #if 0 an unused function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch #if 0's an unused global function.


Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.14-rc5-mm1-full/drivers/base/power/runtime.c.old	2005-11-02 18:35:52.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/base/power/runtime.c	2005-11-02 18:40:09.000000000 +0100
@@ -64,6 +64,7 @@
 }
 
 
+#if 0
 /**
  *	dpm_set_power_state - Update power_state field.
  *	@dev:	Device.
@@ -80,3 +81,4 @@
 	dev->power.power_state = state;
 	up(&dpm_sem);
 }
+#endif  /*  0  */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux