kernel: leds-gca230718: remove status variable
authorRosen Penev <rosenp@gmail.com>
Sun, 6 Oct 2024 23:56:25 +0000 (16:56 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 23 Dec 2024 23:23:34 +0000 (00:23 +0100)
commit980fe907116e4a15737ca3895979b59c10aff791
treefe0d1db5dc358374d81c810662fdafa9c80b90a9
parente2b80013ed78fef11ff5f2e1347fb9fe250f5231
kernel: leds-gca230718: remove status variable

I have no idea why this is even here. Simplifies the code with direct
returns.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16869
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/leds-gca230718/src/leds-gca230718.c