diff options
author | 2023-03-14 19:23:38 +0100 | |
---|---|---|
committer | 2023-03-24 18:22:28 +0800 | |
commit | 59a6854abb71e3b86476e1f1dc5639a10dbc4ef5 (patch) | |
tree | 1630cf5ecaedc349507053821f424d68add907e2 /lib/crypto/utils.c | |
parent | crypto: p10-aes-gcm - remove duplicate include header (diff) | |
download | wireguard-linux-59a6854abb71e3b86476e1f1dc5639a10dbc4ef5.tar.xz wireguard-linux-59a6854abb71e3b86476e1f1dc5639a10dbc4ef5.zip |
crypto: keembay - Drop if with an always false condition
A platform device's remove callback is only ever called after the probe
callback returned success.
In the case of kmb_ocs_aes_remove() this means that kmb_ocs_aes_probe()
succeeded before and so platform_set_drvdata() was called with a
non-zero argument and platform_get_drvdata() returns non-NULL.
This prepares making remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/utils.c')
0 files changed, 0 insertions, 0 deletions