diff options
author | Adam Guerin <adam.guerin@intel.com> | 2023-06-09 17:38:19 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-16 20:30:35 +0800 |
commit | 038ccc2876686a508d9d46d23ad540a5ad6a969f (patch) | |
tree | ad956e17e17f2443e1c96c38a306a99fcf9a8fcc /drivers/crypto/intel/qat/qat_common/adf_accel_devices.h | |
parent | f75bd28beb4a804a42a01e26f162f8c42b65fb09 (diff) | |
download | linux-stable-038ccc2876686a508d9d46d23ad540a5ad6a969f.tar.gz linux-stable-038ccc2876686a508d9d46d23ad540a5ad6a969f.tar.bz2 linux-stable-038ccc2876686a508d9d46d23ad540a5ad6a969f.zip |
crypto: qat - move returns to default case
Make use of the default statements by changing the pattern:
switch(condition) {
case COND_A:
...
break;
case COND_b:
...
break;
}
return ret;
in
switch(condition) {
case COND_A:
...
break;
case COND_b:
...
break;
default:
return ret;
}
Signed-off-by: Adam Guerin <adam.guerin@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/intel/qat/qat_common/adf_accel_devices.h')
0 files changed, 0 insertions, 0 deletions