sch_netem: replace magic numbers with enumerate in get_loss_clg
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 17 Feb 2014 08:48:21 +0000 (16:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2014 21:55:54 +0000 (16:55 -0500)
commit3fbac2a87e73e1dfdfa83e18e9601628eec0d676
treee9c3445eb54c94cf4cb846fe21ff18b6c0eb66b4
parente035b8addc544c2b4de2f8b0326ba7939abd9541
sch_netem: replace magic numbers with enumerate in get_loss_clg

Replace two magic numbers which intialize clgstate::state.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c