mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	drivers/rtc/rtc-armada38x.c: remove unused local `flags'
Reported-by: Fengguang Wu <fengguang.wu@gmail.com> Cc: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									110bc76729
								
							
						
					
					
						commit
						f98b733e93
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -64,7 +64,7 @@ static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset)
 | 
				
			||||||
static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm)
 | 
					static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct armada38x_rtc *rtc = dev_get_drvdata(dev);
 | 
						struct armada38x_rtc *rtc = dev_get_drvdata(dev);
 | 
				
			||||||
	unsigned long time, time_check, flags;
 | 
						unsigned long time, time_check;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mutex_lock(&rtc->mutex_time);
 | 
						mutex_lock(&rtc->mutex_time);
 | 
				
			||||||
	time = readl(rtc->regs + RTC_TIME);
 | 
						time = readl(rtc->regs + RTC_TIME);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue