mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
crypto: tegra: Fix unused variable warnings
Fix the unused variable warnings in the Tegra SE driver by removing the unused 'err' variables. Bug 3820317 Change-Id: I74b9ea6f34c48aeb41d11e0d4c093d52ddf058b6 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2792538 Reviewed-by: Akhil R <akhilrajeev@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d28e28c6fe
commit
619afce1dc
@@ -1788,7 +1788,6 @@ static u32 tegra_se_get_crypto_config(struct tegra_se_dev *se_dev,
|
||||
{
|
||||
u32 val = 0;
|
||||
unsigned long freq = 0;
|
||||
int err = 0;
|
||||
|
||||
switch (mode) {
|
||||
case SE_AES_OP_MODE_XTS:
|
||||
@@ -2073,7 +2072,6 @@ static int tegra_se_read_cmac_result(struct tegra_se_dev *se_dev, u8 *pdata,
|
||||
{
|
||||
u32 *result = (u32 *)pdata;
|
||||
u32 i;
|
||||
int err = 0;
|
||||
|
||||
for (i = 0; i < nbytes / 4; i++) {
|
||||
if (se_dev->chipdata->kac_type == SE_KAC_T23X) {
|
||||
@@ -2095,7 +2093,6 @@ static int tegra_se_read_cmac_result(struct tegra_se_dev *se_dev, u8 *pdata,
|
||||
static int tegra_se_clear_cmac_result(struct tegra_se_dev *se_dev, u32 nbytes)
|
||||
{
|
||||
u32 i;
|
||||
int err = 0;
|
||||
|
||||
for (i = 0; i < nbytes / 4; i++) {
|
||||
if (se_dev->chipdata->kac_type == SE_KAC_T23X) {
|
||||
|
||||
Reference in New Issue
Block a user