]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/crypto/n2_core.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[~shefty/rdma-dev.git] / drivers / crypto / n2_core.c
index 337249155c055f23542b3ad2fccd836c0a599be4..80dc094e78c655d7f75d329762ad05891dbed3a5 100644 (file)
@@ -1832,7 +1832,7 @@ static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node,
                return -ENODEV;
 
        ino = mdesc_get_property(mdesc, node, "ino", &ino_len);
                return -ENODEV;
 
        ino = mdesc_get_property(mdesc, node, "ino", &ino_len);
-       if (!intr)
+       if (!ino)
                return -ENODEV;
 
        if (intr_len != ino_len)
                return -ENODEV;
 
        if (intr_len != ino_len)