Skip to contentSkip to conversation

clean-up: fixes "unsigned<0" warning

PATCH New Riina Kikas 1 participant 1 message Dec 6, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clean-up: fixes "unsigned<0" warning

This patch fixes warning "comparison of unsigned expression < 0 is always false" occuring on line 711

drivers/ide/setup-pci.c +1 -2
@@ -708,8 +708,7 @@
 	} else {
 		if (d->init_chipset)
 		{
-			if(d->init_chipset(dev, d->name) < 0)
-				return index;
+			d->init_chipset(dev, d->name)
 		}
 		if (noisy)
 #ifdef __sparc__