[PATCH] pinctrl: Delete unnecessary checks before the function call "pinctrl_unregister"
linus.walleij at linaro.org
Tue Nov 17 02:50:47 PST 2015
On Thu, Nov 5, 2015 at 5:17 PM, SF Markus Elfring
<elfring at users.sourceforge.net> wrote:
> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Thu, 5 Nov 2015 17:10:22 +0100
> The pinctrl_unregister() function tests whether its argument is NULL
> and then returns immediately. Thus the test around the call is not needed.
> This issue was detected by using the Coccinelle software.
> Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
Patch applied with Ray's Review tag.
More information about the linux-arm-kernel