rtc/rtc-mxc: to remove six unused variables

Submitted by Wan ZongShun on June 4, 2010, 8:48 a.m.

Details

Message ID 4C08BDD5.9040509@gmail.com
State Accepted
Headers show

Commit Message

Wan ZongShun June 4, 2010, 8:48 a.m.
There are six variables of structure 'rtc_plat_data' is not used anywhere.
,so I make a patch to remove the unnecessary variable.


Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
---
 drivers/rtc/rtc-mxc.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c
index 25ec921..0b06c1e 100644
--- a/drivers/rtc/rtc-mxc.c
+++ b/drivers/rtc/rtc-mxc.c
@@ -83,12 +83,6 @@  struct rtc_plat_data {
 	void __iomem *ioaddr;
 	int irq;
 	struct clk *clk;
-	unsigned int irqen;
-	int alrm_sec;
-	int alrm_min;
-	int alrm_hour;
-	int alrm_mday;
-	struct timespec mxc_rtc_delta;
 	struct rtc_time g_rtc_alarm;
 };