projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b96c2
)
kernel-doc/rst: blank lines in output are not needed
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 26 May 2016 19:04:33 +0000
(22:04 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Mon, 30 May 2016 10:38:59 +0000
(13:38 +0300)
Current approach leads to two blank lines, while one is enough.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
scripts/kernel-doc
patch
|
blob
|
blame
|
history
diff --git
a/scripts/kernel-doc
b/scripts/kernel-doc
index c154c3205df1772dda6a22320062376d1bb93280..a89ff3ca366ca505a73f92321057b28d79be4cae 100755
(executable)
--- a/
scripts/kernel-doc
+++ b/
scripts/kernel-doc
@@
-1786,12
+1786,7
@@
sub output_highlight_rst {
die $@ if $@;
foreach $line (split "\n", $contents) {
- if ($line eq "") {
- print $lineprefix, $blankline;
- } else {
- print $lineprefix, $line;
- }
- print "\n";
+ print $lineprefix . $line . "\n";
}
}