On Sat, Feb 15, 2014 at 2:24 PM, Alexander Shiyan <shc_work@xxxxxxx> wrote: > Variable "offset" cannot be negative, so no need to check if it > greater than zero or equal. > > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> Patch applied. Nice patches by the way, are you finding these by using some static code checking tool? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html