pinctrl: pinctrl-single.c: Cleaning up values that are never used

This change “pinctrl: pinctrl-single.c: Cleaning up values that are never used” (commit 849bfe0) in Linux kernel is authored by Rickard Strandqvist <rickard_strandqvist [at] spectrumdigital.se> on Thu Jun 26 15:43:01 2014 +0200.

Description of "pinctrl: pinctrl-single.c: Cleaning up values that are never used"

The change “pinctrl: pinctrl-single.c: Cleaning up values that are never used” introduces changes as follows.

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>

Linux kernel releases containing commit 849bfe0

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "pinctrl: pinctrl-single.c: Cleaning up values that are never used"

There are 3 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/pinctrl/pinctrl-single.c | 3 +--
 1 file changed, 1 insertion(+), 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)
 {
 	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);
 

The commit for this change in Linux stable tree is 849bfe0 (patch).

Last modified: 2020/02/10