On Mon, Jan 25, 2021 at 04:04:48PM +0100, Rasmus Villemoes wrote: > mv88e6250_g1_vtu_getnext is almost identical to > mv88e6185_g1_vtu_getnext, except for the 6250 only having 64 databases > instead of 256. We can reduce code duplication by simply masking off > the extra two garbage bits when assembling the fid from VTU op [3:0] > and [11:8]. > > Reviewed-by: Tobias Waldekranz <[email protected]> > Tested-by: Tobias Waldekranz <[email protected]> > Reviewed-by: Florian Fainelli <[email protected]> > Signed-off-by: Rasmus Villemoes <[email protected]> > ---
Reviewed-by: Vladimir Oltean <[email protected]>
