Browse Source

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>
Jonathan Corbet 7 năm trước cách đây
mục cha
commit
2a7c7cba38
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      Documentation/conf.py

+ 0 - 1
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