mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
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>
This commit is contained in:
parent
c515a4443c
commit
d1e4632b30
1 changed files with 2 additions and 2 deletions
|
@ -239,7 +239,7 @@ static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf,
|
|||
cipher = MCS_GCM_AES_128;
|
||||
dev_warn(pfvf->dev, "Unsupported key length\n");
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
policy |= FIELD_PREP(MCS_RX_SECY_PLCY_CIP, cipher);
|
||||
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,
|
|||
cipher = MCS_GCM_AES_128;
|
||||
dev_warn(pfvf->dev, "Unsupported key length\n");
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
policy |= FIELD_PREP(MCS_TX_SECY_PLCY_CIP, cipher);
|
||||
|
||||
|
|
Loading…
Reference in a new issue