Art. 11.42. IF COURT HAS NO JURISDICTION    


If it appear by the return and papers attached that the judge or court has no jurisdiction, such court or judge shall at once remand the applicant to the person from whose custody he has been taken.

Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.