realtek: Don't reinitialize static variables to 0
authorSven Eckelmann <[email protected]>
Sun, 23 Nov 2025 16:04:21 +0000 (17:04 +0100)
committerHauke Mehrtens <[email protected]>
Mon, 24 Nov 2025 23:28:50 +0000 (00:28 +0100)
commit612f1e6afb0bc64656b08876570b2c569f296227
tree75010045a230bd3afb38ab83d84a1e6e817b64a6
parent6eb46033eb21cfda4c13a02d7de5ab3d38f759f1
realtek: Don't reinitialize static variables to 0

Static variables (and global variables) are initialized to 0 by
default. It is not needed and discouraged to reinitialize them
to 0.

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/ethernet/rtl838x_eth.c