realtek: pcs: Drop return on end of void functions
authorSven Eckelmann <[email protected]>
Sun, 23 Nov 2025 13:54:27 +0000 (14:54 +0100)
committerHauke Mehrtens <[email protected]>
Mon, 24 Nov 2025 23:28:50 +0000 (00:28 +0100)
commit230d9363949414154ff798d61cbd14cf65b5b0c9
treee560ff1107ab55756977f974d96dc3e061ecf9ba
parentdae62b01706c9d955fa31665428a08403c1ce4f3
realtek: pcs: Drop return on end of void functions

There is nothing to return from a void function. And it doesn't change the
execution flow. The return at the end of a void function is therefore just
a NOP.

Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20906
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c