Commit 0c704bf0 authored by Markus Elfring's avatar Markus Elfring Committed by Herbert Xu

crypto: ux500 - Delete two unnecessary variable initialisations in ux500_cryp_probe()

Two local variables will eventually be set to appropriate pointers
a bit later. Thus omit their explicit initialisation at the beginning.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9dea6941
...@@ -1404,8 +1404,8 @@ static void cryp_algs_unregister_all(void) ...@@ -1404,8 +1404,8 @@ static void cryp_algs_unregister_all(void)
static int ux500_cryp_probe(struct platform_device *pdev) static int ux500_cryp_probe(struct platform_device *pdev)
{ {
int ret; int ret;
struct resource *res = NULL; struct resource *res;
struct resource *res_irq = NULL; struct resource *res_irq;
struct cryp_device_data *device_data; struct cryp_device_data *device_data;
struct cryp_protection_config prot = { struct cryp_protection_config prot = {
.privilege_access = CRYP_STATE_ENABLE .privilege_access = CRYP_STATE_ENABLE
......
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