diff options
| author | Yuntao Wang <yuntao.wang@linux.dev> | 2026-08-23 17:49:13 +0800 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2026-08-31 16:57:21 -0700 |
| commit | ba0e6a6f0fe7a8ea2a35603cdf85e39d9239d492 (patch) | |
| tree | e641263312e5dd1c723490eb7231139b9e4aead9 /tools/lib/python/kdoc/python_version.py | |
| parent | 72c442e5bad35552d902312402121682f05220ac (diff) | |
| download | linux-next-ba0e6a6f0fe7a8ea2a35603cdf85e39d9239d492.tar.gz linux-next-ba0e6a6f0fe7a8ea2a35603cdf85e39d9239d492.zip | |
setlocalversion: make tag local to try_tag()
The tag variable is only used by try_tag(), but is currently declared
local to scm_version() and modified by try_tag().
Make tag local to try_tag() instead and remove the unused declaration
from scm_version().
No functional changes.
Signed-off-by: Yuntao Wang <yuntao.wang@linux.dev>
Link: https://patch.msgid.link/20260823094913.421144-1-yuntao.wang@linux.dev
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
