提交 2a7c7cba 编写于 作者: J Jonathan Corbet

docs: Remove "could not extract kernel version" warning

This warning will happen for every normal kernel docs build and doesn't
carry any useful information.  Should anybody actually depend on this
"version" variable (which isn't clear to me), the "unknown version" value
will be clue enough.
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
上级 241f67c8
...@@ -88,7 +88,6 @@ finally: ...@@ -88,7 +88,6 @@ finally:
if makefile_version and makefile_patchlevel: if makefile_version and makefile_patchlevel:
version = release = makefile_version + '.' + makefile_patchlevel version = release = makefile_version + '.' + makefile_patchlevel
else: else:
sys.stderr.write('Warning: Could not extract kernel version\n')
version = release = "unknown version" version = release = "unknown version"
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册