aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-14 19:23:38 +0100
committerHerbert Xu <[email protected]>2023-03-24 18:22:28 +0800
commit59a6854abb71e3b86476e1f1dc5639a10dbc4ef5 (patch)
tree1630cf5ecaedc349507053821f424d68add907e2 /drivers/fpga/tests/fpga-mgr-test.c
parent7e1c64dbe813ae2f8d46b41791247056bf477f6a (diff)
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions