Thread (27 messages) flat view 27 messages, 4 authors, 2019-08-27

Re: [PATCH spi for-5.4 1/5] spi: Use an abbreviated pointer to ctlr->cur_msg in __spi_pump_messages

From: Mark Brown <broonie@kernel.org>
Date: 2019-08-20 18:21:28
Also in: linux-spi

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?

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help