Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: keembay-ocs-ecc - 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 ecc_dev is never NULL. This is a preparation for making platform remove callbacks return void. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information