]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/hp100.c
ext3: Fix duplicate entries returned from getdents() system call
[linux-2.6-omap-h63xx.git] / drivers / net / hp100.c
index 49421d1cd3a5d61e1bb4afcd6533478fd8526e31..571dd80fb85009910f6a49d3cda27baa085b54f1 100644 (file)
@@ -1153,7 +1153,7 @@ static void hp100_init_pdls(struct net_device *dev)
        printk("hp100: %s: init pdls\n", dev->name);
 #endif
 
-       if (0 == lp->page_vaddr_algn)
+       if (!lp->page_vaddr_algn)
                printk("hp100: %s: Warning: lp->page_vaddr_algn not initialised!\n", dev->name);
        else {
                /* pageptr shall point into the DMA accessible memory region  */