aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2014-06-26 09:43:01 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-07-11 08:08:34 -0400
commit849bfe0637fd45bf50aac3b12e7e56248c0b9031 (patch)
tree1ca20ab258c60980f7c7a16009ec3e35a2fb8a42
parent445d20260bb0a7633f9d7d46a3afb0d9ee4109a7 (diff)
pinctrl: pinctrl-single.c: Cleaning up values that are never used
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>
-rw-r--r--drivers/pinctrl/pinctrl-single.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index ff6a2bda52e5..efeb12ad7b19 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1683,11 +1683,10 @@ static void pcs_irq_chain_handler(unsigned int irq, struct irq_desc *desc)
1683{ 1683{
1684 struct pcs_soc_data *pcs_soc = irq_desc_get_handler_data(desc); 1684 struct pcs_soc_data *pcs_soc = irq_desc_get_handler_data(desc);
1685 struct irq_chip *chip; 1685 struct irq_chip *chip;
1686 int res;
1687 1686
1688 chip = irq_get_chip(irq); 1687 chip = irq_get_chip(irq);
1689 chained_irq_enter(chip, desc); 1688 chained_irq_enter(chip, desc);
1690 res = pcs_irq_handle(pcs_soc); 1689 pcs_irq_handle(pcs_soc);
1691 /* REVISIT: export and add handle_bad_irq(irq, desc)? */ 1690 /* REVISIT: export and add handle_bad_irq(irq, desc)? */
1692 chained_irq_exit(chip, desc); 1691 chained_irq_exit(chip, desc);
1693 1692