Removed unused error codes

Change-Id: I6c8fd409c05cf9ce35ddd06a0862821059fbfbd4