diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-07-05 22:51:44 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-07-15 16:43:21 +0800 |
commit | 1d5390a33a4b54b2129316656792d55755a03d06 (patch) | |
tree | 28e990a157e75dcd2805de96ac4d43f90de5cda5 /drivers/crypto/caam/qi.c | |
parent | 35b22c19daa1bbe77dce2f7f776c0cf2acff1f00 (diff) | |
download | linux-1d5390a33a4b54b2129316656792d55755a03d06.tar.bz2 |
crypto: s5p-sss - 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 pdata 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>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/qi.c')
0 files changed, 0 insertions, 0 deletions