gpio: remove dead code
Subsystems (2)
PATCH 1/1 gpio: remove dead code
Signed-off-by Wolfram Sang <[email protected]>
--- arch/powerpc/platforms/52xx/mpc52xx_gpio.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
arch/powerpc/platforms/52xx/mpc52xx_gpio.c +0 -3
@@ -363,11 +363,8 @@ static int mpc52xx_gpt_gpio_get(struct gpio_chip *gc, unsigned int gpio) {struct of_mm_gpio_chip *mm_gc =to_of_mm_gpio_chip (gc);struct mpc52xx_gpt __iomem *regs = mm_gc->regs; -unsigned int ret;return (in_be32 (®s->status) & (1 << (31 -23 ))) ?1 :0 ; - -return ret; } static void
Signature · 5 lines
1.5.6.5 -- Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry
Quoted 1 line · Wolfram Sang
Signed-off-by Wolfram Sang <[email protected]>
Thanks, I'll pick this up.
Quoted 26 lines
--- arch/powerpc/platforms/52xx/mpc52xx_gpio.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)arch/powerpc/platforms/52xx/mpc52xx_gpio.c +0
-3@@ -363,11 +363,8 @@ static int mpc52xx_gpt_gpio_get(struct gpio_chip *gc, unsigned int gpio) {struct of_mm_gpio_chip *mm_gc =to_of_mm_gpio_chip (gc);struct mpc52xx_gpt __iomem *regs = mm_gc->regs; -unsigned int ret;return (in_be32 (®s->status) & (1 << (31 -23 ))) ?1 :0 ; - -return ret; } static voidSignature · 5 lines
1.5.6.5 -- Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry