Re: [PATCH 1/2] net: ag71xx: Slighly simplify code in 'ag71xx_rings_init()'

From: Jesse Brandeburg
Date: Thu Aug 08 2019 - 01:29:47 EST


On Wed, 31 Jul 2019 10:06:38 +0200
Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>

Reviewed-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>