question tehuti.c

From: Julia Lawall
Date: Mon Sep 23 2013 - 11:54:35 EST


The function bdx_setmulti in the file drivers/net/ethernet/tehuti/tehuti.c
contains:

u32 rxf_val =
GMAC_RX_FILTER_AM | GMAC_RX_FILTER_AB | GMAC_RX_FILTER_OSEN;

and then later:

} else {
DBG("only own mac %d\n", netdev_mc_count(ndev));
rxf_val |= GMAC_RX_FILTER_AB;
}

The last assignment doesn't look very useful, because GMAC_RX_FILTER_ABis
already included in rxf_val. Was something else intended?

thanks,
julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/