summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2013-06-23 21:23:46 +0000
committerBrad Smith <brad@cvs.openbsd.org>2013-06-23 21:23:46 +0000
commit993f2d1a3dec709fef17fb5930baff290076169c (patch)
treef29f4c6bd3841622c78ad13bb29d05fff4464216 /sys/dev
parentb93090522129c288d56ddf4bea5e83233629de1a (diff)
Remove unsigned comparison < 0.
Pointed out by LLVM. ok ratchov@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/emuxki.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c
index 747c475d159..05a5a0aad02 100644
--- a/sys/dev/pci/emuxki.c
+++ b/sys/dev/pci/emuxki.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emuxki.c,v 1.42 2013/05/24 07:58:46 ratchov Exp $ */
+/* $OpenBSD: emuxki.c,v 1.43 2013/06/23 21:23:45 brad Exp $ */
/* $NetBSD: emuxki.c,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */
/*-
@@ -1451,7 +1451,7 @@ emuxki_voice_channel_destroy(struct emuxki_voice *voice)
int
emuxki_recsrc_reserve(struct emuxki_voice *voice, emuxki_recsrc_t source)
{
- if (source < 0 || source >= EMU_NUMRECSRCS) {
+ if (source >= EMU_NUMRECSRCS) {
#ifdef EMUXKI_DEBUG
printf("Tried to reserve invalid source: %d\n", source);
#endif