]> git.karo-electronics.de Git - linux-beck.git/commitdiff
msm: sirc: remove some unused variables
authorDavid Brown <davidb@codeaurora.org>
Fri, 12 Nov 2010 21:49:51 +0000 (13:49 -0800)
committerDaniel Walker <dwalker@codeaurora.org>
Tue, 16 Nov 2010 20:23:58 +0000 (12:23 -0800)
Eliminate some unreferenced variables.

arch/arm/mach-msm/sirc.c:43: warning: 'save_type' defined but not used
arch/arm/mach-msm/sirc.c:44: warning: 'save_polarity' defined but not used

Signed-off-by: David Brown <davidb@codeaurora.org>
[dwalker@codeaurora.org: changed the commit text a little.]
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
arch/arm/mach-msm/sirc.c

index b0794524ba6ea342446ad8399c5062f39e6baf60..152eefda3ce65e85e43b81134035c0ce6d51cc71 100644 (file)
@@ -40,9 +40,6 @@ static struct sirc_cascade_regs sirc_reg_table[] = {
        }
 };
 
-static unsigned int save_type;
-static unsigned int save_polarity;
-
 /* Mask off the given interrupt. Keep the int_enable mask in sync with
    the enable reg, so it can be restored after power collapse. */
 static void sirc_irq_mask(unsigned int irq)