mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	rtc: armada38x: Remove unused variable from armada38x_rtc_set_time()
Remove the 'flags' variable in order to fix the following warning: drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable] Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
		
							parent
							
								
									baeca4495f
								
							
						
					
					
						commit
						d80238bbca
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -88,7 +88,7 @@ static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct armada38x_rtc *rtc = dev_get_drvdata(dev);
 | 
						struct armada38x_rtc *rtc = dev_get_drvdata(dev);
 | 
				
			||||||
	int ret = 0;
 | 
						int ret = 0;
 | 
				
			||||||
	unsigned long time, flags;
 | 
						unsigned long time;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ret = rtc_tm_to_time(tm, &time);
 | 
						ret = rtc_tm_to_time(tm, &time);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue