wifi: rtw89: remove conditional return with no effect in sys_init_*()

Both branches of the check return the same value, so the check has
no effect. Remove it and return the value directly.

This is the result of running the Coccinelle script from
scripts/coccinelle/misc/cond_return_no_effect.cocci.

Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260726134034.1385834-3-ekffu200098@gmail.com
This commit is contained in:
Sang-Heon Jeon 2026-07-26 22:40:31 +09:00 • committed by Ping-Ke Shih
commit bbc18041ad
2 changed files with 2 additions and 10 deletions