dmaengine: mxs-dma: fix unused variable warn
drivers/dma/mxs-dma.c: In function 'mxs_dma_terminate_all': drivers/dma/mxs-dma.c:662:23: warning: unused variable 'mxs_chan'[-Wunused-variable] Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
		
					parent
					
						
							
								a29c395636
							
						
					
				
			
			
				commit
				
					
						f67bcc4042
					
				
			
		
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -661,8 +661,6 @@ err_out:
 | 
			
		|||
 | 
			
		||||
static int mxs_dma_terminate_all(struct dma_chan *chan)
 | 
			
		||||
{
 | 
			
		||||
	struct mxs_dma_chan *mxs_chan = to_mxs_dma_chan(chan);
 | 
			
		||||
 | 
			
		||||
	mxs_dma_reset_chan(chan);
 | 
			
		||||
	mxs_dma_disable_chan(chan);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue