pinctrl: pinctrl-single.c: Cleaning up values that are never used
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 26 Jun 2014 13:43:01 +0000 (15:43 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jul 2014 12:08:34 +0000 (14:08 +0200)
Remove variable that are never used

This was found using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c

index ff6a2bda52e570cba4904a747ffb9f9c9ea32dc1..efeb12ad7b195123d479578c207b494449bf9b59 100644 (file)
@@ -1683,11 +1683,10 @@ static void pcs_irq_chain_handler(unsigned int irq, struct irq_desc *desc)
 {
        struct pcs_soc_data *pcs_soc = irq_desc_get_handler_data(desc);
        struct irq_chip *chip;
-       int res;
 
        chip = irq_get_chip(irq);
        chained_irq_enter(chip, desc);
-       res = pcs_irq_handle(pcs_soc);
+       pcs_irq_handle(pcs_soc);
        /* REVISIT: export and add handle_bad_irq(irq, desc)? */
        chained_irq_exit(chip, desc);