summaryrefslogtreecommitdiffstats
path: root/sys/dev/cs/if_cs.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-01-18 15:23:16 +0000
committerjhb <jhb@FreeBSD.org>2011-01-18 15:23:16 +0000
commitbd6ea41b5c8b2f18653fe4f1886c43765dd64523 (patch)
treefcf42113f04e8dfc6ed4ed0652dfe14ed3f9f70e /sys/dev/cs/if_cs.c
parent643ff138c3b8cff603b2344b52f81333309b3064 (diff)
downloadFreeBSD-src-bd6ea41b5c8b2f18653fe4f1886c43765dd64523.zip
FreeBSD-src-bd6ea41b5c8b2f18653fe4f1886c43765dd64523.tar.gz
Remove some always-true comparisons.
Submitted by: clang via rdivacky
Diffstat (limited to 'sys/dev/cs/if_cs.c')
-rw-r--r--sys/dev/cs/if_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c
index 476b9dd..c264192 100644
--- a/sys/dev/cs/if_cs.c
+++ b/sys/dev/cs/if_cs.c
@@ -364,7 +364,7 @@ cs_cs89x0_probe(device_t dev)
if (!error && !(sc->flags & CS_NO_IRQ)) {
if (chip_type == CS8900) {
- if (irq >= 0 || irq < 16)
+ if (irq < 16)
irq = cs8900_irq2eeint[irq];
else
irq = 255;
OpenPOWER on IntegriCloud