Re: [PATCH] drivers: i2c: remove dead code in davinci_i2c_probe

From
Wolfram Sang <wsa@kernel.org>
Date
2023-03-16 19:51:10
Also in
linux-i2c, lkml
Reply to
Dongliang Mu, 2023-03-06
On Mon, Mar 06, 2023 at 10:45:23AM +0800, Dongliang Mu wrote:
From the comment of platform_get_irq, it only returns non-zero IRQ
number and negative error number, other than zero.

Fix this by removing the if condition.

Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Applied to for-next, thanks!
Thread (3 messages) 3 messages, 3 authors, last reply 2023-03-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help