summaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2017-12-11 15:20:04 -0700
committerJonathan Corbet <corbet@lwn.net>2017-12-11 15:20:04 -0700
commit2a7c7cba38f4176af081de74e82b61aeae4feaa1 (patch)
tree121be473cebeadf272592ce88c47654698c2f5a9 /Documentation/conf.py
parent241f67c8cccc94d79166173197bd6117cfa94ae9 (diff)
downloadlinux-2a7c7cba38f4176af081de74e82b61aeae4feaa1.tar.bz2
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: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 63857d33778c..62ac5a9f3a9f 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -88,7 +88,6 @@ finally:
if makefile_version and makefile_patchlevel:
version = release = makefile_version + '.' + makefile_patchlevel
else:
- sys.stderr.write('Warning: Could not extract kernel version\n')
version = release = "unknown version"
# The language for content autogenerated by Sphinx. Refer to documentation