]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-ixp2000/ixdp2x00.h
checkpatch: usb_free_urb() can take NULL
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-ixp2000 / ixdp2x00.h
index 229381c64283ae7c0605d0138c03dc12ee1789e8..546e2e8e27b890b17f8a27e7519c8ff3c47f2e68 100644 (file)
 
 #ifndef __ASSEMBLY__
 /*
- * Master NPU will always have flash and be PCI master.
- * Slave NPU may or may not have flash but will never be PCI master.
+ * The master NPU is always PCI master.
  */
 static inline unsigned int ixdp2x00_master_npu(void)
 {
-       return ((ixp2000_has_flash()) && (ixp2000_is_pcimaster()));
+       return !!ixp2000_is_pcimaster();
 }
 
 /*