[PATCH] pinctrl: samsung: Remove unneeded local variable initialization

Linus Walleij linus.walleij at linaro.org
Wed Aug 2 01:45:07 PDT 2017


On Tue, Jul 18, 2017 at 7:43 PM, Krzysztof Kozlowski <krzk at kernel.org> wrote:

> Two local variables (shift and reg_con) were initialized to unused
> values - they were overwritten just few lines after.  Getting rid of
> this unused initialization allows dropping other variables and
> compacting slightly the code.
>
> Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>

Looks good to me, I expect to get this from you in a pull request.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list