linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: lantiq_etop: add blank line after declaration
@ 2021-12-28 22:00 Aleksander Jan Bajkowski
  2021-12-29  0:20 ` patchwork-bot+netdevbpf
  2022-01-08  8:04 ` Joe Perches
  0 siblings, 2 replies; 4+ messages in thread
From: Aleksander Jan Bajkowski @ 2021-12-28 22:00 UTC (permalink / raw)
  To: davem, kuba, olek2, rdunlap, jgg, arnd, netdev, linux-kernel

This patch adds a missing line after the declaration and
fixes the checkpatch warning:

WARNING: Missing a blank line after declarations
+		int desc;
+		for (desc = 0; desc < LTQ_DESC_NUM; desc++)

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
 drivers/net/ethernet/lantiq_etop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
index 072391c494ce..78257cbe7fb6 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -218,6 +218,7 @@ ltq_etop_free_channel(struct net_device *dev, struct ltq_etop_chan *ch)
 		free_irq(ch->dma.irq, priv);
 	if (IS_RX(ch->idx)) {
 		int desc;
+
 		for (desc = 0; desc < LTQ_DESC_NUM; desc++)
 			dev_kfree_skb_any(ch->skb[ch->dma.desc]);
 	}
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-08 15:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-28 22:00 [PATCH net-next] net: lantiq_etop: add blank line after declaration Aleksander Jan Bajkowski
2021-12-29  0:20 ` patchwork-bot+netdevbpf
2022-01-08  8:04 ` Joe Perches
2022-01-08 15:38   ` Aleksander Bajkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).