Message ID | 4C08BAC9.1000501@gmail.com |
---|---|
State | Accepted |
Headers | show |
Sorry. Forget to add signed-off. Signed-off-by: Wan ZongShun <mcuos.com@gmail.com> 在 2010年6月4日 下午4:35,Wan ZongShun <mcuos.com@gmail.com> 写道: > The variable 'rtc_alarm' of structure 'pxa_rtc' is unused > ,so I make a patch to remove the unnecessary variable. > > --- > drivers/rtc/rtc-pxa.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c > index e9c6fa0..b15375a 100644 > --- a/drivers/rtc/rtc-pxa.c > +++ b/drivers/rtc/rtc-pxa.c > @@ -87,7 +87,6 @@ struct pxa_rtc { > int irq_Alrm; > struct rtc_device *rtc; > spinlock_t lock; /* Protects this structure */ > - struct rtc_time rtc_alarm; > }; > > static u32 ryxr_calc(struct rtc_time *tm) > -- > 1.6.3.3 >
diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c index e9c6fa0..b15375a 100644 --- a/drivers/rtc/rtc-pxa.c +++ b/drivers/rtc/rtc-pxa.c @@ -87,7 +87,6 @@ struct pxa_rtc { int irq_Alrm; struct rtc_device *rtc; spinlock_t lock; /* Protects this structure */ - struct rtc_time rtc_alarm; }; static u32 ryxr_calc(struct rtc_time *tm)