[fix #48723465] Removed unneeded code