From: Aleksander Jan Bajkowski Date: Wed, 29 Dec 2021 23:36:26 +0000 (+0100) Subject: net: lantiq_etop: remove multiple assignments X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=370509b267fafa3ca7122cf0b91cafadf52cfacc;p=linux.git net: lantiq_etop: remove multiple assignments Documentation/process/coding-style.rst says (in line 88) "Don't put multiple assignments on a single line either." This patch fixes the coding style issue reported by checkpatch.pl. Signed-off-by: Aleksander Jan Bajkowski Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c index bec5ef92d3f0..1a5962d118d1 100644 --- a/drivers/net/ethernet/lantiq_etop.c +++ b/drivers/net/ethernet/lantiq_etop.c @@ -271,7 +271,8 @@ ltq_etop_hw_init(struct net_device *dev) int irq = LTQ_DMA_CH0_INT + i; struct ltq_etop_chan *ch = &priv->ch[i]; - ch->idx = ch->dma.nr = i; + ch->dma.nr = i; + ch->idx = ch->dma.nr; ch->dma.dev = &priv->pdev->dev; if (IS_TX(i)) {