[parisc-linux-cvs] sba_iommu.c ASSERT changes

Paul Bame bame@fc.hp.com
Tue, 15 May 2001 17:05:19 -0600


Index: sba_iommu.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/sba_iommu.c,v
retrieving revision 1.45
diff -u -r1.45 sba_iommu.c
--- sba_iommu.c	2001/04/24 23:00:41	1.45
+++ sba_iommu.c	2001/05/15 22:57:19
@@ -28,7 +28,7 @@
 
 #include <linux/mm.h>
 #include <linux/string.h>
-#define PCI_DEBUG		/* for ASSERT */
+#undef PCI_DEBUG		/* for ASSERT */
 #include <linux/pci.h>
 #undef PCI_DEBUG
 
@@ -513,7 +513,6 @@
 				*res_ptr = RESMAP_MASK(bits_wanted);
 				pide = ((unsigned long)res_ptr - (unsigned long)ioc->res_map);
 				pide <<= 3;	/* convert to bit address */
-				ASSERT(0 != pide);
 				break;
 			}
 		}