Get rid of unused variable useTLS.