[PATCH v2 18/38] kernel-doc/rst: drop redundant unescape in highlighting

From: Jani Nikula
Date: Sat Jun 04 2016 - 07:40:08 EST


This bit is already done by xml_unescape() above.

Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
scripts/kernel-doc | 1 -
1 file changed, 1 deletion(-)

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";
--
2.1.4