gpio: rc5t583: Remove redundant check
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 15 Feb 2014 13:24:07 +0000 (17:24 +0400)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Feb 2014 13:51:49 +0000 (14:51 +0100)
commit3bde4d26f9d7d9ebc87fbd9980d5140ba391b5d4
tree4fec7b9172e3e8b1f08bd0dee0442ab2e3120da8
parent58c0f5aa124534af16d7faaf1abdfa0d9fec8290
gpio: rc5t583: Remove redundant check

Variable "offset" cannot be negative, so no need to check if it
greater than zero or equal.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rc5t583.c
This page took 0.0271 seconds and 5 git commands to generate.