diff options
author | Zheng Bin <zhengbin13@huawei.com> | 2020-04-24 17:04:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-24 16:56:59 -0700 |
commit | d9e4171a4a2cf20e803eb31a92d6854ea7002c38 (patch) | |
tree | dac2520dc8d876bbdf5156e66ba0b9eb91591962 /drivers | |
parent | 10395e99f4a6f67d53b89f143f610ee954c24531 (diff) | |
download | linux-d9e4171a4a2cf20e803eb31a92d6854ea7002c38.tar.bz2 |
net: atlantic: Remove unneeded semicolon
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>
Acked-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/aq_macsec.c | 4 |
1 files 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; } |