From 162becfe552af9457fc844aacd33cc12b0186429 Mon Sep 17 00:00:00 2001 From: Laxmikant Rashinkar Date: Mon, 28 Jul 2014 18:16:29 -0700 Subject: coverity: fixed unsigned compare against 0 --- sesman/chansrv/chansrv.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sesman/chansrv') diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index 6aa5c8e8..f68d2e4e 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -1600,11 +1600,6 @@ remove_struct_with_chan_id(tui32 dvc_chan_id) { int i; - if (dvc_chan_id < 0) - { - return -1; - } - for (i = 0; i < MAX_DVC_CHANNELS; i++) { if (g_dvc_channels[i]->dvc_chan_id == dvc_chan_id) -- cgit v1.2.1