[PATCH 2/3] ste_dma40: Delete another unnecessary check in d40_probe()

Linus Walleij linus.walleij at linaro.org
Sun Nov 29 13:28:59 PST 2015


On Mon, Nov 16, 2015 at 10:24 PM, SF Markus Elfring
<elfring at users.sourceforge.net> wrote:

> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Mon, 16 Nov 2015 21:56:07 +0100
>
> A single jump label was used by the d40_probe() function in several cases
> for error handling which was a bit inefficient here.
>
> * This implementation detail could be improved by the introduction
>   of another jump label.
>
> * Remove an extra check for the variable "base".
>
> * Omit its explicit initialisation at the beginning then.
>
> Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list