Skip to content
Commit a9d41e7b authored by Christophe JAILLET's avatar Christophe JAILLET Committed by David S. Miller
Browse files

net: ag71xx: Slighly simplify code in 'ag71xx_rings_init()'



A few lines above, we have:
   tx_size = BIT(tx->order);

So use 'tx_size' directly to be consistent with the way 'rx->descs_cpu' and
'rx->descs_dma' are computed below.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5133f36c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment