]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: ezx-pcap: Return directly instead of empty gotos
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Thu, 5 Mar 2026 21:45:47 +0000 (22:45 +0100)
committerLee Jones <lee@kernel.org>
Wed, 25 Mar 2026 12:45:55 +0000 (12:45 +0000)
commitef5a54c542f5388df3f142a84de642d33790bd7b
treee6026d110eaddafbb416d44da25d9148b363b1b5
parentfa9ccb6b7fb4c5ac50613d1412a273a2031dcd2b
mfd: ezx-pcap: Return directly instead of empty gotos

Code is easier to read if empty error paths simply return, instead of
jumping to empty label doing only "return ret".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260305-workqueue-devm-v2-8-66a38741c652@oss.qualcomm.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/ezx-pcap.c