Remove desired_buffer from the thread_state struct.