Clean up trailing whitespace in the kernel headers.

And fix the scripts so they stop letting trailing whitespace through.

Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
This commit is contained in:
Elliott Hughes
2013-01-29 18:15:55 -08:00
parent f67219783f
commit c95eb57405
341 changed files with 6527 additions and 6635 deletions

View File

@@ -1676,7 +1676,7 @@ class Block:
return left_count
if self.directive:
out.write(str(self) + "\n")
out.write(str(self).rstrip() + "\n")
left_count -= 1
if left_count == 0:
out.write(warning)
@@ -1756,7 +1756,7 @@ class BlockList:
for b in self.blocks:
result += str(b)
if b.isDirective():
result += '\n'
result = result.rstrip() + '\n'
return result
def optimizeIf01(self):