From patchwork Fri Jun 4 08:35:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: rtc/pxa: patch for the unused variable removal From: Wan ZongShun X-Patchwork-Id: 54545 Message-Id: <4C08BAC9.1000501@gmail.com> To: Andrew Morton , rtc-linux , eric.y.miao@gmail.com Date: Fri, 04 Jun 2010 16:35:21 +0800 The variable 'rtc_alarm' of structure 'pxa_rtc' is unused ,so I make a patch to remove the unnecessary variable. Signed-off-by: Wan ZongShun --- 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)