diff options
| author | Uwe Kleine-König <[email protected]> | 2023-07-31 16:54:55 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-08-11 11:19:27 +0000 |
| commit | 3feec4ef9f99e2ca3c4614bc0c46e9c0ad337357 (patch) | |
| tree | dec650989b46ed697ea51a29ef7530d578b5b178 /lib/crypto/mpi/mpi-add.c | |
| parent | crypto: stm32 - Properly handle pm_runtime_get failing (diff) | |
| download | kernel-3feec4ef9f99e2ca3c4614bc0c46e9c0ad337357.tar.gz kernel-3feec4ef9f99e2ca3c4614bc0c46e9c0ad337357.zip | |
crypto: stm32 - Drop if block with always false condition
stm32_hash_remove() is only called after stm32_hash_probe() succeeded. In
this case platform_set_drvdata() was called with a non-NULL data patameter.
The check for hdev being non-NULL can be dropped because hdev is never NULL
(or something bad like memory corruption happened and then the check
doesn't help any more either).
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
