generic: drop outdated kernel version switches in local drivers
[oweals/openwrt.git] / target / linux / generic / files / drivers / net / phy / rtl8306.c
index 6d09c1063cec3aa467374831c75971c6b93df5aa..31bc7589c4b193c7c649677b174ba3d6ed1ebfb6 100644 (file)
@@ -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,