[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 7 Aug 2019 22:29:43 -0700
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: <jcliburn@...il.com>, <davem@...emloft.net>,
<chris.snook@...il.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>,
jesse.brandeburg@...el.com
Subject: Re: [PATCH 1/2] net: ag71xx: Slighly simplify code in
'ag71xx_rings_init()'
On Wed, 31 Jul 2019 10:06:38 +0200
Christophe JAILLET <christophe.jaillet@...adoo.fr> 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@...adoo.fr>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
Powered by blists - more mailing lists