Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get_sw_ver_info(): Return early if show_sw_ver argument is False
If get_sw_ver_info() argument show_sw_ver is False, there's no need to obtain version numbers from the Internet to then discard then. Reorder the argument check to return immediately. Relates to issue tenstorrent/tt-smi#42. Signed-off-by: Andreas Färber <[email protected]>
- Loading branch information