summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-05-26 16:56:27 +0300
committerJani Nikula <jani.nikula@intel.com>2016-05-30 13:38:58 +0300
commit9c9193c49c1f1662b00476b3d0697a1be37c6b08 (patch)
tree577a20977d72e316691e711a5a2db63a32a785d6 /scripts/kernel-doc
parentf3341dcf3bdcd1209b2911f35e4e970b789c4744 (diff)
downloadlinux-stable-9c9193c49c1f1662b00476b3d0697a1be37c6b08.tar.gz
linux-stable-9c9193c49c1f1662b00476b3d0697a1be37c6b08.tar.bz2
linux-stable-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";