[PATCH OLK-5.10 10/19] sched: clear credit count in error branch