Commit 14bd342e authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Herbert Xu

crypto: n2 - dubious error check

Looks like a copy-and-paste problem to me.
Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 72e58063
...@@ -1832,7 +1832,7 @@ static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node, ...@@ -1832,7 +1832,7 @@ static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node,
return -ENODEV; return -ENODEV;
ino = mdesc_get_property(mdesc, node, "ino", &ino_len); ino = mdesc_get_property(mdesc, node, "ino", &ino_len);
if (!intr) if (!ino)
return -ENODEV; return -ENODEV;
if (intr_len != ino_len) if (intr_len != ino_len)
......
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