diff options
author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2021-12-28 23:00:31 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-29 01:00:08 +0100 |
commit | 4c46625bb586a741b8d0e6bdbddbcb2549fa1d36 (patch) | |
tree | 810034797a35068216e3b00f86e94937c2489f01 /drivers/net/ethernet/lantiq_etop.c | |
parent | net: lantiq_etop: add missing comment for wmb() (diff) | |
download | linux-4c46625bb586a741b8d0e6bdbddbcb2549fa1d36.tar.xz linux-4c46625bb586a741b8d0e6bdbddbcb2549fa1d36.zip |
net: lantiq_etop: add blank line after declaration
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>
Link: https://lore.kernel.org/r/20211228220031.71576-1-olek2@wp.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
-rw-r--r-- | drivers/net/ethernet/lantiq_etop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c index 6f049278c083..1f6808b3ad12 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]); } |