summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-02-23 19:23:55 +0000
committerjhb <jhb@FreeBSD.org>2006-02-23 19:23:55 +0000
commit555253faf1b3b727cb9a09bd92162e674bb91a50 (patch)
treee0b67fc4745550e5fcb495978a7a2ae458776549 /sys
parentc65ca5575a5cb29b50c63a8651103d0d5e261d28 (diff)
downloadFreeBSD-src-555253faf1b3b727cb9a09bd92162e674bb91a50.zip
FreeBSD-src-555253faf1b3b727cb9a09bd92162e674bb91a50.tar.gz
Remove some dead code.
Coverity ID: 822 Found by: Coverity Prevent Reviewed by: ariff MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pcm/feeder.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/sound/pcm/feeder.c b/sys/dev/sound/pcm/feeder.c
index c6c4744..b70bd58 100644
--- a/sys/dev/sound/pcm/feeder.c
+++ b/sys/dev/sound/pcm/feeder.c
@@ -385,10 +385,8 @@ chn_fmtbest(u_int32_t fmt, u_int32_t *fmts)
}
} else if (best2 == 0)
return best1;
- else if (best1 == 0)
+ else
return best2;
-
- return best1;
}
u_int32_t
OpenPOWER on IntegriCloud