summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-05-26 15:56:27 +0200
committerJani Nikula <jani.nikula@intel.com>2016-05-30 12:38:58 +0200
commit9c9193c49c1f1662b00476b3d0697a1be37c6b08 (patch)
tree577a20977d72e316691e711a5a2db63a32a785d6 /scripts/kernel-doc
parentkernel-doc/rst: add support for struct/union/enum member references (diff)
downloadlinux-9c9193c49c1f1662b00476b3d0697a1be37c6b08.tar.xz
linux-9c9193c49c1f1662b00476b3d0697a1be37c6b08.zip
kernel-doc/rst: drop redundant unescape in highlighting
This bit is already done by xml_unescape() above. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index e0fd14f6d711..8f9eac509377 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1796,7 +1796,6 @@ sub output_highlight_rst {
if ($line eq "") {
print $lineprefix, $blankline;
} else {
- $line =~ s/\\\\\\/\&/g;
print $lineprefix, $line;
}
print "\n";