Remove useless dump function