kernel: rtl8367b: remove rlvid analysis
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sat, 27 Jul 2024 10:52:04 +0000 (12:52 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 5 Aug 2024 22:34:14 +0000 (00:34 +0200)
commitc30e0eb2a33e1308d140c9ec1c983710742e7868
tree3f7eb0bafd4b1edede4422f4bdd4929b4dbacc9a
parent343f4f3c54ab6db98528b3b6a7e989eafaff788c
kernel: rtl8367b: remove rlvid analysis

Remove the rlvid analysis because for the rtl8367b family chips supported
by the driver (rtl8367rb and rtl8367r-vb), rlvid is always equal to 1.
So the code for rlvid equal to 0 is completely unnecessary.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/15749
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/files/drivers/net/phy/rtl8367b.c