From de49f3252c588f160868d4bbb6196b73db1347d5 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 23 Feb 2006 19:23:55 +0000 Subject: [PATCH] Remove some dead code. Coverity ID: 822 Found by: Coverity Prevent Reviewed by: ariff MFC after: 1 week --- sys/dev/sound/pcm/feeder.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/sound/pcm/feeder.c b/sys/dev/sound/pcm/feeder.c index c6c4744d584a..b70bd588c2ff 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