summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/myricom
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-07-31 11:06:38 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-31 18:38:17 +0300
commita9d41e7b8b1fe43c0beeab9a45d4c886a5e4ee85 (patch)
treeb78940745c2dff3c66ecfe5059045b5dd446bb95 /drivers/net/ethernet/myricom
parent5133f36cef46b906d40b76d5f71640f5b3dae0c3 (diff)
downloadlinux-a9d41e7b8b1fe43c0beeab9a45d4c886a5e4ee85.tar.xz
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: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/myricom')
0 files changed, 0 insertions, 0 deletions