Remove unneccessary code

refer - #13055