With the introduction of robust notifier chains, it is certainly no
longer true to simply say in dsa_switch_event() that the chain is
broken.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
net/dsa/switch.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net/dsa/switch.c b/net/dsa/switch.c
index e3a91f38c5db..37875960d3f0 100644
--- a/net/dsa/switch.c
+++ b/net/dsa/switch.c
@@ -987,10 +987,6 @@ static int dsa_switch_event(struct notifier_block *nb,
break;
}
- if (err)
- dev_dbg(ds->dev, "breaking chain for DSA event %lu (%d)\n",
- event, err);
-
return notifier_from_errno(err);
}
--
2.34.1