I used to have to walk to the local library

Could you correct the punctuation please?
I used to have to walk to the local library.