[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150422.183534.1565776428068622594.davem@davemloft.net>
Date: Wed, 22 Apr 2015 18:35:34 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ben.shelton@...com
Cc: nicolas.ferre@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/macb: Factor out one-time assignment from loop
From: Ben Shelton <ben.shelton@...com>
Date: Wed, 22 Apr 2015 17:28:54 -0500
> In 02c958dd3 (net/macb: add TX multiqueue support for gem), the
> initialization of tx_head and tx_tail in macb_init_rings() was moved
> inside the loop that iterates over each element in the ring. Since
> tx_head and tx_tail only need to be assigned once, move them back out of
> the loop.
>
> Signed-off-by: Ben Shelton <ben.shelton@...com>
Yeah that makes sense, applied, thanks Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists