Remove unused function get_state_by_http_status_code

Change-Id: I0714d10173b86ad6f873986633a885588d822f95
Merge "Remove unused function get_state_by_http_status_code"