diff options
author | Marco Chiappero <marco.chiappero@intel.com> | 2021-08-12 21:21:26 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-08-21 15:44:56 +0800 |
commit | e6dac5ea6f8e68c1d4fda7ffb6903c33161b3b4e (patch) | |
tree | 540edd8dd355ef93ff67000056802c5b21032d9f /drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | |
parent | crypto: qat - fix naming of PF/VF enable functions (diff) | |
download | linux-dev-e6dac5ea6f8e68c1d4fda7ffb6903c33161b3b4e.tar.xz linux-dev-e6dac5ea6f8e68c1d4fda7ffb6903c33161b3b4e.zip |
crypto: qat - remove the unnecessary get_vintmsk_offset()
All QAT GEN2 devices share the same register offset for masking interrupts,
so they don't need any complex device specific infrastructure.
Remove this function in favor of a constant in order to simplify the code.
Also, future generations may require a more complex device specific
handling, making the current approach obsolete anyway.
Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Co-developed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Fiona Trahe <fiona.trahe@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_c3xxxvf/adf_drv.c')
0 files changed, 0 insertions, 0 deletions