added.opened is set to false. Next time we check_added_uart, the baud rate is unconditionally set in each of the phases. Thus this line has no effect except to confuse the reader