fastchg.c: Remove duplicate code