crypto: n2 - dubious error check

Looks like a copy-and-paste problem to me.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Nicolas Kaiser 2010-10-25 19:25:42 -04:00 committed by Herbert Xu
parent 72e58063d6
commit 14bd342e25
1 changed files with 1 additions and 1 deletions

View File

@ -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)