diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-06-08 13:38:28 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-06-10 11:29:20 +0300 |
commit | 06173fe33a3fd239540bd188f1f12a39e99b6c83 (patch) | |
tree | 5a771fe847fb1c3ecbf26d927d8feef8a5e1018c /Documentation/sphinx | |
parent | c9b2cfb3faece55df7f50b4ab76bc00ac8e06700 (diff) | |
download | linux-06173fe33a3fd239540bd188f1f12a39e99b6c83.tar.xz |
Documentation/sphinx: remove unnecessary temporary variable
Leftover cruft. No functional changes.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'Documentation/sphinx')
-rw-r--r-- | Documentation/sphinx/kernel-doc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index 4adfb0e91ecc..2856376cc62c 100644 --- a/Documentation/sphinx/kernel-doc.py +++ b/Documentation/sphinx/kernel-doc.py @@ -59,7 +59,6 @@ class KernelDocDirective(Directive): env.note_dependency(os.path.abspath(filename)) tab_width = self.options.get('tab-width', self.state.document.settings.tab_width) - source = filename # FIXME: make this nicer and more robust against errors if 'export' in self.options: @@ -105,7 +104,7 @@ class KernelDocDirective(Directive): lineoffset = int(match.group(1)) - 1 # we must eat our comments since the upset the markup else: - result.append(line, source, lineoffset) + result.append(line, filename, lineoffset) lineoffset += 1 node = nodes.section() |