projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b596ce6
)
net: pcs: xpcs: delete shim definition for mdio_xpcs_get_ops()
author
Vladimir Oltean
<vladimir.oltean@nxp.com>
Wed, 2 Jun 2021 16:20:11 +0000
(19:20 +0300)
committer
David S. Miller
<davem@davemloft.net>
Thu, 3 Jun 2021 20:30:43 +0000
(13:30 -0700)
CONFIG_STMMAC_ETH selects CONFIG_PCS_XPCS, so there should be no
situation where the shim should be needed.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pcs/pcs-xpcs.h
patch
|
blob
|
history
diff --git
a/include/linux/pcs/pcs-xpcs.h
b/include/linux/pcs/pcs-xpcs.h
index 5938ced805f47e314154373a5b88d18426e56299..c4d0a2c469c7a31a4319a7b3c9cecd337f2691cc 100644
(file)
--- a/
include/linux/pcs/pcs-xpcs.h
+++ b/
include/linux/pcs/pcs-xpcs.h
@@
-36,13
+36,6
@@
struct mdio_xpcs_ops {
int enable);
};
-#if IS_ENABLED(CONFIG_PCS_XPCS)
struct mdio_xpcs_ops *mdio_xpcs_get_ops(void);
-#else
-static inline struct mdio_xpcs_ops *mdio_xpcs_get_ops(void)
-{
- return NULL;
-}
-#endif
#endif /* __LINUX_PCS_XPCS_H */