Remove return instruction outside of function