From 131ce5056dcbe2634bf8661280b0d5d6282464c0 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Fri, 9 Jan 2009 15:49:05 -0700 Subject: [PATCH] --- yaml --- r: 129590 b: refs/heads/master c: ddd527d56a0e635abdc7ffeb688cdde7593ad2d3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/platforms/52xx/mpc52xx_gpio.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 8823101a6d21..122a8f88835b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d30239a0ef2000cfae6c60f8e870da2d8dba4d22 +refs/heads/master: ddd527d56a0e635abdc7ffeb688cdde7593ad2d3 diff --git a/trunk/arch/powerpc/platforms/52xx/mpc52xx_gpio.c b/trunk/arch/powerpc/platforms/52xx/mpc52xx_gpio.c index 8a455ebce98d..07f89ae46d04 100644 --- a/trunk/arch/powerpc/platforms/52xx/mpc52xx_gpio.c +++ b/trunk/arch/powerpc/platforms/52xx/mpc52xx_gpio.c @@ -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