Skip to content

Commit 8a1786b

Browse files
vladimirolteankuba-moo
authored andcommitted
net: dsa: mv88e6xxx: remove ATU age out violation print
Currently, the MV88E6XXX_PORT_ASSOC_VECTOR_INT_AGE_OUT bit (interrupt on age out) is not enabled by the driver, and as a result, the print for age out violations is dead code. Remove it until there is some way for this to be triggered. Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 4cc58a0 commit 8a1786b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/net/dsa/mv88e6xxx/global1_atu.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,6 @@ static irqreturn_t mv88e6xxx_g1_atu_prob_irq_thread_fn(int irq, void *dev_id)
378378

379379
spid = entry.state;
380380

381-
if (val & MV88E6XXX_G1_ATU_OP_AGE_OUT_VIOLATION) {
382-
dev_err_ratelimited(chip->dev,
383-
"ATU age out violation for %pM\n",
384-
entry.mac);
385-
}
386-
387381
if (val & MV88E6XXX_G1_ATU_OP_MEMBER_VIOLATION) {
388382
dev_err_ratelimited(chip->dev,
389383
"ATU member violation for %pM portvec %x spid %d\n",

0 commit comments

Comments
 (0)