hc
2023-02-14 b625cdcd68479b3d540a915785b6d9809b52a2f8
kernel/drivers/net/ethernet/stmicro/stmmac/stmmac.h
....@@ -217,27 +217,10 @@
217217 int stmmac_mdio_unregister(struct net_device *ndev);
218218 int stmmac_mdio_register(struct net_device *ndev);
219219 int stmmac_mdio_reset(struct mii_bus *mii);
220
-
221
-#ifdef CONFIG_STMMAC_ETHTOOL
222220 void stmmac_set_ethtool_ops(struct net_device *netdev);
223
-#else
224
-static inline void stmmac_set_ethtool_ops(struct net_device *netdev)
225
-{
226
-}
227
-#endif
228221
229
-#ifdef CONFIG_STMMAC_PTP
230222 void stmmac_ptp_register(struct stmmac_priv *priv);
231223 void stmmac_ptp_unregister(struct stmmac_priv *priv);
232
-#else
233
-static inline void stmmac_ptp_register(struct stmmac_priv *priv)
234
-{
235
-}
236
-
237
-static inline void stmmac_ptp_unregister(struct stmmac_priv *priv)
238
-{
239
-}
240
-#endif
241224 int stmmac_resume(struct device *dev);
242225 int stmmac_suspend(struct device *dev);
243226 int stmmac_dvr_remove(struct device *dev);