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

From: Linus Walleij
Date: Wed Aug 02 2017 - 04:45:15 EST


On Tue, Jul 18, 2017 at 7:43 PM, Krzysztof Kozlowski <krzk@xxxxxxxxxx> 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@xxxxxxxxxx>

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

Yours,
Linus Walleij