[PATCH OLK-5.10] Revert "sched: clear credit count in error branch"