diff options
author | David Brown <davidb@codeaurora.org> | 2011-01-27 00:14:24 (GMT) |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2011-01-28 19:20:39 (GMT) |
commit | 5c548add9899a1f8fcd47a58c4925c8ac4fc3027 (patch) | |
tree | d0775e9843890358d3a961d3be46f6ae0414254a /arch/arm/mach-msm/board-trout-gpio.c | |
parent | c8e4e7b12632771ab59f2e27fe120764642d06d2 (diff) | |
download | linux-fsl-qoriq-5c548add9899a1f8fcd47a58c4925c8ac4fc3027.tar.xz |
msm: Warning fix in trout gpio board file
arch/arm/mach-msm/board-trout-gpio.c: In function 'trout_gpio_to_irq':
arch/arm/mach-msm/board-trout-gpio.c:77: error: unused variable 'msm_gpio'
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/board-trout-gpio.c')
-rw-r--r-- | arch/arm/mach-msm/board-trout-gpio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/board-trout-gpio.c b/arch/arm/mach-msm/board-trout-gpio.c index a604ec1..31117a4 100644 --- a/arch/arm/mach-msm/board-trout-gpio.c +++ b/arch/arm/mach-msm/board-trout-gpio.c @@ -74,8 +74,6 @@ static int msm_gpiolib_direction_output(struct gpio_chip *chip, static int trout_gpio_to_irq(struct gpio_chip *chip, unsigned offset) { - struct msm_gpio_chip *msm_gpio = to_msm_gpio_chip(chip); - return TROUT_GPIO_TO_INT(offset + chip->base); } |