Re: [PATCH -next] Input: Remove unnecessary print function dev_err()

From: Dmitry Torokhov
Date: Wed Jun 29 2022 - 01:51:51 EST


On Wed, Apr 27, 2022 at 08:49:06AM +0800, Yang Li wrote:
> The print function dev_err() is redundant because
> platform_get_irq() already prints an error.
>
> Eliminate the follow coccicheck warning:
> ./drivers/input/joystick/sensehat-joystick.c:102:2-9: line 102 is
> redundant because platform_get_irq() already prints an error
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>

Applied, thank you.

--
Dmitry