Re: [PATCH v2 0/3] Input: clean up conditional returns with no effect
From: Dmitry Torokhov
Date: Wed Aug 05 2026 - 00:29:47 EST
On Thu, Jul 30, 2026 at 02:09:32AM +0900, Sang-Heon Jeon wrote:
> Hello,
>
> This series cleans up conditional returns where both branches return
> the same value, so the check has no effect. The Input patch of the
> treewide v1 series [1] is split per driver and posted separately.
>
> Patches 1-2 are generated by the Coccinelle script, which you can
> find in v1.
>
> Patch 3 keeps the check in synaptics_i2c_reg_set() and returns 0
> explicitly instead, which is the preferred way when there are
> multiple failure points.
Applied the lot, thank you.
--
Dmitry