[cassign] cleanup dead code