[DP_View] remove some un-needed code.