From: Jani Nikula <jani.nikula@intel.com>
To: Jani Nikula <jani.nikula@intel.com>, Jonathan Corbet <corbet@lwn.net>
Cc: Markus Heiser <markus.heiser@darmarit.de>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Grant Likely <grant.likely@secretlab.ca>,
Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
Keith Packard <keithp@keithp.com>,
LKML <linux-kernel@vger.kernel.org>,
linux-doc@vger.kernel.org, Hans Verkuil <hverkuil@xs4all.nl>
Subject: [docs-next PATCH v2 07/11] Documentation/sphinx: remove unnecessary temporary variable
Date: Thu, 23 Jun 2016 15:28:07 +0300 [thread overview]
Message-ID: <06173fe33a3fd239540bd188f1f12a39e99b6c83.1466684436.git.jani.nikula@intel.com> (raw)
In-Reply-To: <cover.1466684436.git.jani.nikula@intel.com>
In-Reply-To: <cover.1466684436.git.jani.nikula@intel.com>
Leftover cruft. No functional changes.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
Documentation/sphinx/kernel-doc.py | 3 +--
1 file changed, 1 insertion(+), 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()
--
2.1.4
next prev parent reply other threads:[~2016-06-23 12:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-23 12:28 [docs-next PATCH v2 00/11] Documentation/sphinx follow-up, again Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 01/11] kernel-doc: remove old debug cruft from dump_section() Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 02/11] kernel-doc: do not warn about duplicate default section names Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 03/11] kernel-doc: add missing semi-colons in option parsing Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 04/11] kernel-doc: abstract filename mapping Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 05/11] kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 06/11] kernel-doc: unify all EXPORT_SYMBOL scanning to one place Jani Nikula
2016-06-23 12:28 ` Jani Nikula [this message]
2016-06-23 12:28 ` [docs-next PATCH v2 08/11] Documentation/sphinx: use a more sensible string split in kernel-doc extension Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 09/11] Documentation/sphinx: add support for specifying extra export files Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 10/11] Documentation/sphinx: drop modindex, we don't have python modules Jani Nikula
2016-06-23 12:28 ` [docs-next PATCH v2 11/11] Documentation: add top level 'make help' output for Sphinx Jani Nikula
2016-06-23 13:47 ` [docs-next PATCH v2 00/11] Documentation/sphinx follow-up, again Jonathan Corbet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=06173fe33a3fd239540bd188f1f12a39e99b6c83.1466684436.git.jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=corbet@lwn.net \
--cc=daniel.vetter@ffwll.ch \
--cc=grant.likely@secretlab.ca \
--cc=hverkuil@xs4all.nl \
--cc=keithp@keithp.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=markus.heiser@darmarit.de \
--cc=mchehab@osg.samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®