Commit 992ec1fa authored by Marco Chiappero's avatar Marco Chiappero Committed by Herbert Xu

crypto: qat - remove unneeded braces

Remove unnecessary braces around a single statement in a for loop.
Signed-off-by: default avatarMarco Chiappero <marco.chiappero@intel.com>
Reviewed-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9ff9139b
...@@ -116,9 +116,8 @@ void adf_disable_sriov(struct adf_accel_dev *accel_dev) ...@@ -116,9 +116,8 @@ void adf_disable_sriov(struct adf_accel_dev *accel_dev)
if (hw_data->configure_iov_threads) if (hw_data->configure_iov_threads)
hw_data->configure_iov_threads(accel_dev, false); hw_data->configure_iov_threads(accel_dev, false);
for (i = 0, vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++) { for (i = 0, vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++)
mutex_destroy(&vf->pf2vf_lock); mutex_destroy(&vf->pf2vf_lock);
}
kfree(accel_dev->pf.vf_info); kfree(accel_dev->pf.vf_info);
accel_dev->pf.vf_info = NULL; accel_dev->pf.vf_info = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment