diff options
author | 2022-07-05 22:51:40 +0200 | |
---|---|---|
committer | 2022-07-15 16:43:20 +0800 | |
commit | 515f4fc66bf176b91d24d89deddc18e0be12543f (patch) | |
tree | d3cb878e70360afd601a320bd0c9c01ce4f9d418 /lib/zstd/zstd_common_module.c | |
parent | crypto: atmel-sha - Drop if with an always false condition (diff) | |
download | wireguard-linux-515f4fc66bf176b91d24d89deddc18e0be12543f.tar.xz wireguard-linux-515f4fc66bf176b91d24d89deddc18e0be12543f.zip |
crypto: atmel-tdes - Drop if with an always false condition
The remove callback is only called after probe completed successfully.
In this case platform_set_drvdata() was called with a non-NULL argument
and so tdes_dd is never NULL.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/zstd/zstd_common_module.c')
0 files changed, 0 insertions, 0 deletions