[PATCH 2.6] clean-up: fixes "unsigned<0" warning
From: Riina Kikas
Date: Mon Dec 06 2004 - 16:03:58 EST
This patch fixes warning "comparison of unsigned expression < 0 is always false"
occuring on line 711
Signed-off-by: Riina Kikas <Riina.Kikas@xxxxxxx>
--- a/drivers/ide/setup-pci.c 2004-11-30 19:43:52.000000000 +0000
+++ b/drivers/ide/setup-pci.c 2004-12-06 19:26:57.000000000 +0000
@@ -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__
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/