ath79: remove pre-5.10 specific kernel code
[openwrt/openwrt.git] / target / linux / ath79 / files / drivers / net / ethernet / atheros / ag71xx / ag71xx.h
index 5ff9439f0d11ada26dfe1440e36e356a06f3be56..1955cd288f3c5e548ef8bdf8bc976e98c93676aa 100644 (file)
@@ -178,11 +178,7 @@ struct ag71xx {
 
        struct phy_device       *phy_dev;
        void                    *phy_priv;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,0)
        phy_interface_t         phy_if_mode;
-#else
-       int                     phy_if_mode;
-#endif
 
        unsigned int            link;
        unsigned int            speed;