# Re: \[PATCH\] crypto: amlogic - Fix unnecessary check in meson\_crypto\_probe()

- From: Herbert Xu \<herbert@gondor.apana.org.au\>
- Date: 2021-03-04 06:43:44 
- List: linux-crypto
- Page: https://ratatoskr.run/linux-crypto/2021/03/6287852
- Thread: https://ratatoskr.run/linux-crypto/2021/02/6265206/t.md

```text
On Wed, Feb 10, 2021 at 11:16:37AM +0800, Tang Bin wrote:
> The function meson_crypto_probe() is only called with an openfirmware
> platform device. Therefore there is no need to check that the passed
> in device is NULL.
> 
> Signed-off-by: Tang Bin <redacted>
> ---
>  drivers/crypto/amlogic/amlogic-gxl-core.c | 3 ---
>  1 file changed, 3 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
