Skip to content

Commit d1e4632

Browse files
Yang Lidavem330
authored andcommitted
octeontx2-pf: mcs: Remove unneeded semicolon
./drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:242:2-3: Unneeded semicolon ./drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:476:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4947 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c515a44 commit d1e4632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf,
239239
cipher = MCS_GCM_AES_128;
240240
dev_warn(pfvf->dev, "Unsupported key length\n");
241241
break;
242-
};
242+
}
243243

244244
policy |= FIELD_PREP(MCS_RX_SECY_PLCY_CIP, cipher);
245245
policy |= FIELD_PREP(MCS_RX_SECY_PLCY_VAL, secy->validate_frames);
@@ -473,7 +473,7 @@ static int cn10k_mcs_write_tx_secy(struct otx2_nic *pfvf,
473473
cipher = MCS_GCM_AES_128;
474474
dev_warn(pfvf->dev, "Unsupported key length\n");
475475
break;
476-
};
476+
}
477477

478478
policy |= FIELD_PREP(MCS_TX_SECY_PLCY_CIP, cipher);
479479

0 commit comments

Comments
 (0)