[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190820182128.GH4738@sirena.co.uk>
Date: Tue, 20 Aug 2019 19:21:28 +0100
From: Mark Brown <broonie@...nel.org>
To: Vladimir Oltean <olteanv@...il.com>
Cc: h.feurstein@...il.com, mlichvar@...hat.com,
richardcochran@...il.com, andrew@...n.ch, f.fainelli@...il.com,
linux-spi@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH spi for-5.4 1/5] spi: Use an abbreviated pointer to
ctlr->cur_msg in __spi_pump_messages
On Sun, Aug 18, 2019 at 09:25:56PM +0300, Vladimir Oltean wrote:
> /* Extract head of queue */
> - ctlr->cur_msg =
> - list_first_entry(&ctlr->queue, struct spi_message, queue);
> + mesg = list_first_entry(&ctlr->queue, struct spi_message, queue);
> + ctlr->cur_msg = mesg;
Why mesg when the existing code uses msg as an abbreviation here?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists