]> xenbits.xensource.com Git - pvdrivers/win/xencons.git/commitdiff
Remove trailing blank lines
authorPaul Durrant <pdurrant@amazon.com>
Thu, 23 Mar 2023 16:08:08 +0000 (16:08 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Thu, 23 Mar 2023 17:06:15 +0000 (17:06 +0000)
Use the following bit of shell to remove a trailing blank line from each
file where such exists.

echo "$(echo "$(tac $file)" | tac)" > $file

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
src/xencons/pdo.c

index 982fe9de0ce2e954bef396692ae950eb108fb92f..68cccdefe3f75549e188793071babf0fbbe7fbab 100644 (file)
@@ -2103,4 +2103,3 @@ PdoDestroy(
 
     IoDeleteDevice(PhysicalDeviceObject);
 }
-