[Minor] Removed unneded code