projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64ee48
)
net: dsa: sja1105: remove debugging code in sja1105_vl_gate
author
Vladimir Oltean
<vladimir.oltean@nxp.com>
Tue, 16 Jun 2020 23:58:41 +0000
(
02:58
+0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 19 Jun 2020 03:20:46 +0000
(20:20 -0700)
This shouldn't be there.
Fixes: 834f8933d5dd ("net: dsa: sja1105: implement tc-gate using time-triggered virtual links")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_vl.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/sja1105/sja1105_vl.c
b/drivers/net/dsa/sja1105/sja1105_vl.c
index bdfd6c4e190d6295cadfcc2f975628d0e25e1510..32eca3e660e1e5896932a60063a3a00ae0db352b 100644
(file)
--- a/
drivers/net/dsa/sja1105/sja1105_vl.c
+++ b/
drivers/net/dsa/sja1105/sja1105_vl.c
@@
-588,14
+588,10
@@
int sja1105_vl_gate(struct sja1105_private *priv, int port,
if (priv->vlan_state == SJA1105_VLAN_UNAWARE &&
key->type != SJA1105_KEY_VLAN_UNAWARE_VL) {
- dev_err(priv->ds->dev, "1: vlan state %d key type %d\n",
- priv->vlan_state, key->type);
NL_SET_ERR_MSG_MOD(extack,
"Can only gate based on DMAC");
return -EOPNOTSUPP;
} else if (key->type != SJA1105_KEY_VLAN_AWARE_VL) {
- dev_err(priv->ds->dev, "2: vlan state %d key type %d\n",
- priv->vlan_state, key->type);
NL_SET_ERR_MSG_MOD(extack,
"Can only gate based on {DMAC, VID, PCP}");
return -EOPNOTSUPP;