coverity: fixed unsigned compare against 0
This commit is contained in:
parent
d7f0b174da
commit
162becfe55
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user