diff options
author | jhb <jhb@FreeBSD.org> | 2011-01-18 15:23:16 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-01-18 15:23:16 +0000 |
commit | bd6ea41b5c8b2f18653fe4f1886c43765dd64523 (patch) | |
tree | fcf42113f04e8dfc6ed4ed0652dfe14ed3f9f70e /sys/dev/buslogic | |
parent | 643ff138c3b8cff603b2344b52f81333309b3064 (diff) | |
download | FreeBSD-src-bd6ea41b5c8b2f18653fe4f1886c43765dd64523.zip FreeBSD-src-bd6ea41b5c8b2f18653fe4f1886c43765dd64523.tar.gz |
Remove some always-true comparisons.
Submitted by: clang via rdivacky
Diffstat (limited to 'sys/dev/buslogic')
-rw-r--r-- | sys/dev/buslogic/bt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/buslogic/bt.c b/sys/dev/buslogic/bt.c index b7df4b4..88d152f 100644 --- a/sys/dev/buslogic/bt.c +++ b/sys/dev/buslogic/bt.c @@ -975,7 +975,7 @@ bt_find_probe_range(int ioport, int *port_index, int *max_port_index) int bt_iop_from_bio(isa_compat_io_t bio_index) { - if (bio_index >= 0 && bio_index < BT_NUM_ISAPORTS) + if (bio_index < BT_NUM_ISAPORTS) return (bt_board_ports[bio_index]); return (-1); } |