Re: [alsa-devel] [PATCH] AsoC/s3c: patch for the unnecessary variable 'state' removal
 
            
            
            
            
                3 Jun
                
                    2010
                
            
            
                3 Jun
                
                '10
                
            
            
            
        
    
                2:14 p.m.
            
        On Thu, 2010-06-03 at 00:54 +0800, Wan ZongShun wrote:
The variable 'state' of structure 's3c_ac97_info' seems no use here, so this patch is to remove the unnecessary variable.
Signed-off-by: Wan ZongShun mcuos.com@gmail.com
sound/soc/s3c24xx/s3c-ac97.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/sound/soc/s3c24xx/s3c-ac97.c b/sound/soc/s3c24xx/s3c-ac97.c index ecf4fd0..31f6d45 100644 --- a/sound/soc/s3c24xx/s3c-ac97.c +++ b/sound/soc/s3c24xx/s3c-ac97.c @@ -31,7 +31,6 @@ #define AC_CMD_DATA(x) (x & 0xffff)
struct s3c_ac97_info {
- unsigned state; struct clk *ac97_clk; void __iomem *regs; struct mutex lock;
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
    
        5629
        
      
          Age (days ago)
        
      
        5629
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Liam Girdwood Liam Girdwood