tile: remove an unused variable in copy_thread()