Re: [PATCH] rtc: pxa: fix probe function
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2018-06-07 18:11:36
Also in:
kernel-janitors
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2018-06-07 18:11:36
Also in:
kernel-janitors
On 07/06/2018 11:29:09+0300, Dan Carpenter wrote:
This patch is from static analysis and I don't have the hardware to
to test it. I think the test is reversed so now the probe function
will return success early and the last part of the function is dead
code.
Fixes: 3cdf4ad9633e ("rtc: pxa: convert to use shared sa1100 functions")
Signed-off-by: Dan Carpenter <redacted>Applied, thanks. -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com