It is Not Needed, a comment will suffice.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
        unsigned char addr[ETH_ALEN];
        struct ocelot_multicast *mc;
        u16 vid = mdb->vid;
-       bool new = false;
 
        if (port == ocelot->npi)
                port = ocelot->num_phys_ports;
 
        mc = ocelot_multicast_get(ocelot, mdb->addr, vid);
        if (!mc) {
+               /* New entry */
                int pgid = ocelot_mdb_get_pgid(ocelot, entry_type);
 
                if (pgid < 0) {
                mc->pgid = pgid;
 
                list_add_tail(&mc->list, &ocelot->multicast);
-               new = true;
-       }
-
-       if (!new) {
+       } else {
                ocelot_encode_ports_to_mdb(addr, mc, entry_type);
                ocelot_mact_forget(ocelot, addr, vid);
        }