nss-packages-qosmio/qca-mcs/patches/0001-kernel-5.10-compat.patch
Sean Khan 6f823a2b34 treewide: Initial support for kernel 6.12 + GCC 15.1
Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-05-08 23:12:18 -04:00

19 lines
542 B
Diff

--- a/mc_snooping.c
+++ b/mc_snooping.c
@@ -3105,7 +3105,6 @@ static void mc_mdb_cleanup(unsigned long
os_hlist_for_each_entry_rcu(mdb, mdbh, &mc->hash[i], hlist) {
struct mc_port_group *pg;
struct hlist_node *pgh;
- struct net_device *port;
unsigned long expire_time = mc->membership_interval;
if (hlist_empty(&mdb->pslist)) {
@@ -3140,7 +3139,6 @@ static void mc_mdb_cleanup(unsigned long
else if (time_before(this_timer, next_timer))
next_timer = this_timer;
}
- port = pg->port;
}
}
}