projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eece9c
)
crypto: sahara - remove unnecessary NULL assignments
author
Ovidiu Panait
<ovidiu.panait@windriver.com>
Sun, 24 Dec 2023 08:21:42 +0000
(10:21 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 29 Dec 2023 03:25:56 +0000
(11:25 +0800)
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>
drivers/crypto/sahara.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/sahara.c
b/drivers/crypto/sahara.c
index cd14514a43bb967efed6f6278b78e0e24b7f994b..fdae8c7e7c78967832ad5a839fcd42154bf20bc6 100644
(file)
--- 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 = {