projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d43a9d1
)
net: dsa: b53: Remove is_cpu_port()
author
Florian Fainelli
<f.fainelli@gmail.com>
Tue, 19 Sep 2017 17:46:43 +0000
(10:46 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 19 Sep 2017 23:08:53 +0000
(16:08 -0700)
This is not used anywhere, so remove it.
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_priv.h
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/b53/b53_priv.h
b/drivers/net/dsa/b53/b53_priv.h
index 01bd8cbe9a3f36e41310834b68f773564e1b12e8..7528b22aeb03e0e6a72552aa9334053d65df4d4b 100644
(file)
--- a/
drivers/net/dsa/b53/b53_priv.h
+++ b/
drivers/net/dsa/b53/b53_priv.h
@@
-186,11
+186,6
@@
static inline int is58xx(struct b53_device *dev)
#define B53_CPU_PORT_25 5
#define B53_CPU_PORT 8
-static inline int is_cpu_port(struct b53_device *dev, int port)
-{
- return dev->cpu_port;
-}
-
struct b53_device *b53_switch_alloc(struct device *base,
const struct b53_io_ops *ops,
void *priv);