Re: [PATCH] crypto: amlogic - Fix unnecessary check in meson_crypto_probe()

2021-03-03 Thread Herbert Xu
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 > --- > drivers/crypto/amlogic/amlogic-gxl-cor

[PATCH] crypto: amlogic - Fix unnecessary check in meson_crypto_probe()

2021-02-09 Thread Tang Bin
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 --- drivers/crypto/amlogic/amlogic-gxl-core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/crypto