diff --git a/src/lb_map.c b/src/lb_map.c index d3264bb6b..49805ad37 100644 --- a/src/lb_map.c +++ b/src/lb_map.c @@ -79,9 +79,6 @@ void recalc_server_map(struct proxy *px) case 0: /* no server */ px->lbprm.map.state &= ~LB_MAP_RECALC; return; - case 1: /* only one server, just fill first entry */ - tot = 1; - break; default: tot = px->lbprm.tot_weight; break;