Patchwork rtc/rtc-mxc: to remove six unused variables

login
register
mail settings
Submitter Wan ZongShun
Date June 4, 2010, 8:48 a.m.
Message ID <4C08BDD5.9040509@gmail.com>
Download mbox | patch
Permalink /patch/54555/
State New
Headers show

Comments

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

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;
 };