generic: drop outdated kernel version switches in local drivers
This drops the obsolete version switches for non-supported kernels from local drivers in generic target. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -1033,9 +1033,6 @@ rtl8306_read_status(struct phy_device *pdev)
|
||||
|
||||
static struct phy_driver rtl8306_driver = {
|
||||
.name = "Realtek RTL8306S",
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,13,0))
|
||||
.flags = PHY_HAS_MAGICANEG,
|
||||
#endif
|
||||
.phy_id = RTL8306_MAGIC,
|
||||
.phy_id_mask = 0xffffffff,
|
||||
.features = PHY_BASIC_FEATURES,
|
||||
|
||||
Reference in New Issue
Block a user