All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [EXT] [PATCH -next] net: atlantic: Remove unneeded semicolon
  2020-04-24  9:04 [PATCH -next] net: atlantic: Remove unneeded semicolon Zheng Bin
@ 2020-04-24  9:02 ` Igor Russkikh
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Russkikh @ 2020-04-24  9:02 UTC (permalink / raw)
  To: Zheng Bin, davem, netdev


> Fixes coccicheck warning:
> 
> drivers/net/ethernet/aquantia/atlantic/aq_macsec.c:404:2-3: Unneeded
> semicolon
> drivers/net/ethernet/aquantia/atlantic/aq_macsec.c:420:2-3: Unneeded
> semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zheng Bin <zhengbin13@huawei.com>

Thanks,

Acked-by: Igor Russkikh <irusskikh@marvell.com>


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

* [PATCH -next] net: atlantic: Remove unneeded semicolon
@ 2020-04-24  9:04 Zheng Bin
  2020-04-24  9:02 ` [EXT] " Igor Russkikh
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Bin @ 2020-04-24  9:04 UTC (permalink / raw)
  To: irusskikh, davem, netdev; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/net/ethernet/aquantia/atlantic/aq_macsec.c:404:2-3: Unneeded semicolon
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c:420:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
---
 drivers/net/ethernet/aquantia/atlantic/aq_macsec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_macsec.c b/drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
index 0b3e234a54aa..91870ceaf3fe 100644
--- a/drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
@@ -401,7 +401,7 @@ static u32 aq_sc_idx_max(const enum aq_macsec_sc_sa sc_sa)
 		break;
 	default:
 		break;
-	};
+	}

 	return result;
 }
@@ -417,7 +417,7 @@ static u32 aq_to_hw_sc_idx(const u32 sc_idx, const enum aq_macsec_sc_sa sc_sa)
 		return sc_idx;
 	default:
 		WARN_ONCE(true, "Invalid sc_sa");
-	};
+	}

 	return sc_idx;
 }
--
2.26.0.106.g9fadedd


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

end of thread, other threads:[~2020-04-24  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24  9:04 [PATCH -next] net: atlantic: Remove unneeded semicolon Zheng Bin
2020-04-24  9:02 ` [EXT] " Igor Russkikh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.