Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: pm8921-core: Remove unused variable

‘irq_bit’ is unused in the function. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Sachin Kamat and committed by
Lee Jones
215cd99a 0c2d0ffb

-4
-4
drivers/mfd/pm8921-core.c
··· 186 186 { 187 187 struct pm_irq_chip *chip = irq_data_get_irq_chip_data(d); 188 188 unsigned int pmirq = irqd_to_hwirq(d); 189 - int irq_bit; 190 189 u8 block, config; 191 190 192 191 block = pmirq / 8; 193 - irq_bit = pmirq % 8; 194 192 195 193 config = chip->config[pmirq] | PM_IRQF_MASK_ALL | PM_IRQF_CLR; 196 194 pm8xxx_config_irq(chip, block, config); ··· 198 200 { 199 201 struct pm_irq_chip *chip = irq_data_get_irq_chip_data(d); 200 202 unsigned int pmirq = irqd_to_hwirq(d); 201 - int irq_bit; 202 203 u8 block, config; 203 204 204 205 block = pmirq / 8; 205 - irq_bit = pmirq % 8; 206 206 207 207 config = chip->config[pmirq]; 208 208 pm8xxx_config_irq(chip, block, config);