Commit ebbcdd63 authored by Ovidiu Panait's avatar Ovidiu Panait Committed by Herbert Xu

crypto: sahara - remove unnecessary NULL assignments

Remove unnecessary 'dev_ptr' NULL assignments in sahara_remove() and
sahara_probe().
Signed-off-by: default avatarOvidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1eece9c6
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment