From 7c8f46bd06b4f51e2826767d629a6c35f108d365 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 24 Jul 2010 18:52:37 +0200 Subject: [PATCH 1/1] Simplify vss_send(). --- vss.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/vss.c b/vss.c index 5c66c981..eae0d58e 100644 --- a/vss.c +++ b/vss.c @@ -875,13 +875,8 @@ static void vss_send(struct vss_task *vsst) &due, 1) < 0) return; list_for_each_entry_safe(fc, tmp_fc, &fec_client_list, node) { - switch (fc->state) { - case FEC_STATE_DISABLED: + if (fc->state == FEC_STATE_DISABLED) continue; - case FEC_STATE_NONE: - case FEC_STATE_READY_TO_RUN: - break; - } if (!next_slice_is_due(fc, NULL)) { fec_active = 1; continue; -- 2.39.2