diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2023-12-24 10:21:42 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-12-29 11:25:56 +0800 |
commit | ebbcdd6358dd9737c7add8c2c18d09a3c35d0283 (patch) | |
tree | f75e87522e1b38790802b1399f62198671870d67 /drivers | |
parent | 1eece9c6de22fb24d77328d0c74b7c507f1c958a (diff) | |
download | linux-stable-ebbcdd6358dd9737c7add8c2c18d09a3c35d0283.tar.gz linux-stable-ebbcdd6358dd9737c7add8c2c18d09a3c35d0283.tar.bz2 linux-stable-ebbcdd6358dd9737c7add8c2c18d09a3c35d0283.zip |
crypto: sahara - remove unnecessary NULL assignments
Remove unnecessary 'dev_ptr' NULL assignments in sahara_remove() and
sahara_probe().
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/sahara.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index cd14514a43bb..fdae8c7e7c78 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -1440,7 +1440,6 @@ static int sahara_probe(struct platform_device *pdev) err_algs: kthread_stop(dev->kthread); - dev_ptr = NULL; return err; } @@ -1452,8 +1451,6 @@ static void sahara_remove(struct platform_device *pdev) kthread_stop(dev->kthread); sahara_unregister_algs(dev); - - dev_ptr = NULL; } static struct platform_driver sahara_driver = { |