From 7cbb05393677db0dbc059c8fab8dba16e8272269 Mon Sep 17 00:00:00 2001 From: Paul Durrant Date: Thu, 23 Mar 2023 15:03:18 +0000 Subject: [PATCH] Remove trailing blank lines 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 --- LICENSE | 5 ++--- MAINTAINERS | 1 - include/balloon_interface.h | 1 - include/debug_interface.h | 1 - include/emulated_interface.h | 1 - include/evtchn_interface.h | 1 - include/gnttab_interface.h | 1 - include/range_set_interface.h | 1 - include/store_interface.h | 1 - include/suspend_interface.h | 1 - include/unplug_interface.h | 1 - src/xen/acpi.h | 1 - src/xen/amd64/hypercall_thunk.asm | 2 -- src/xen/i386/hypercall_thunk.asm | 2 -- src/xen/memory.c | 2 -- src/xenbus/balloon.h | 1 - src/xenbus/bus.h | 1 - src/xenbus/debug.h | 1 - src/xenbus/dma.h | 1 - src/xenbus/evtchn.h | 1 - src/xenbus/evtchn_2l.h | 1 - src/xenbus/evtchn_fifo.h | 1 - src/xenbus/gnttab.h | 1 - src/xenbus/hash_table.c | 1 - src/xenbus/hash_table.h | 1 - src/xenbus/shared_info.h | 1 - src/xenbus/store.h | 1 - src/xenbus/sync.h | 1 - src/xenbus/thread.c | 1 - src/xenbus/thread.h | 1 - src/xenfilt/thread.c | 1 - src/xenfilt/thread.h | 1 - 32 files changed, 2 insertions(+), 37 deletions(-) diff --git a/LICENSE b/LICENSE index c445255..86438bd 100644 --- a/LICENSE +++ b/LICENSE @@ -25,7 +25,6 @@ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/MAINTAINERS b/MAINTAINERS index 5f1a670..cc59618 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -48,4 +48,3 @@ Maintainers List * Ben Chalmers * Owen Smith - diff --git a/include/balloon_interface.h b/include/balloon_interface.h index ea5ded1..b9a64c6 100644 --- a/include/balloon_interface.h +++ b/include/balloon_interface.h @@ -114,4 +114,3 @@ typedef struct _XENBUS_BALLOON_INTERFACE_V1 XENBUS_BALLOON_INTERFACE, *PXENBUS_B #define XENBUS_BALLOON_INTERFACE_VERSION_MAX 1 #endif // _XENBUS_BALLOON_INTERFACE_H - diff --git a/include/debug_interface.h b/include/debug_interface.h index 13d79ea..79729c7 100644 --- a/include/debug_interface.h +++ b/include/debug_interface.h @@ -173,4 +173,3 @@ typedef struct _XENBUS_DEBUG_INTERFACE_V1 XENBUS_DEBUG_INTERFACE, *PXENBUS_DEBUG #define XENBUS_DEBUG_INTERFACE_VERSION_MAX 1 #endif // _XENBUS_DEBUG_INTERFACE_H - diff --git a/include/emulated_interface.h b/include/emulated_interface.h index d8de085..ad5975d 100644 --- a/include/emulated_interface.h +++ b/include/emulated_interface.h @@ -143,4 +143,3 @@ typedef struct _XENFILT_EMULATED_INTERFACE_V2 XENFILT_EMULATED_INTERFACE, *PXENF #define XENFILT_EMULATED_INTERFACE_VERSION_MAX 2 #endif // _XENFILT_EMULATED_INTERFACE_H - diff --git a/include/evtchn_interface.h b/include/evtchn_interface.h index 2abe487..ef67487 100644 --- a/include/evtchn_interface.h +++ b/include/evtchn_interface.h @@ -359,4 +359,3 @@ typedef struct _XENBUS_EVTCHN_INTERFACE_V9 XENBUS_EVTCHN_INTERFACE, *PXENBUS_EVT #define XENBUS_EVTCHN_INTERFACE_VERSION_MAX 9 #endif // _XENBUS_EVTCHN_INTERFACE_H - diff --git a/include/gnttab_interface.h b/include/gnttab_interface.h index 76c9c07..4fc8f1f 100644 --- a/include/gnttab_interface.h +++ b/include/gnttab_interface.h @@ -301,4 +301,3 @@ typedef struct _XENBUS_GNTTAB_INTERFACE_V4 XENBUS_GNTTAB_INTERFACE, *PXENBUS_GNT #define XENBUS_GNTTAB_INTERFACE_VERSION_MAX 4 #endif // _XENBUS_GNTTAB_INTERFACE_H - diff --git a/include/range_set_interface.h b/include/range_set_interface.h index 78794aa..c45a161 100644 --- a/include/range_set_interface.h +++ b/include/range_set_interface.h @@ -177,4 +177,3 @@ typedef struct _XENBUS_RANGE_SET_INTERFACE_V1 XENBUS_RANGE_SET_INTERFACE, *PXENB #define XENBUS_RANGE_SET_INTERFACE_VERSION_MAX 1 #endif // _XENBUS_RANGE_SET_INTERFACE_H - diff --git a/include/store_interface.h b/include/store_interface.h index e6b9bce..ca883bd 100644 --- a/include/store_interface.h +++ b/include/store_interface.h @@ -326,4 +326,3 @@ typedef struct _XENBUS_STORE_INTERFACE_V2 XENBUS_STORE_INTERFACE, *PXENBUS_STORE #define XENBUS_STORE_INTERFACE_VERSION_MAX 2 #endif // _XENBUS_STORE_INTERFACE_H - diff --git a/include/suspend_interface.h b/include/suspend_interface.h index 8d6f40f..4176dc3 100644 --- a/include/suspend_interface.h +++ b/include/suspend_interface.h @@ -175,4 +175,3 @@ typedef struct _XENBUS_SUSPEND_INTERFACE_V1 XENBUS_SUSPEND_INTERFACE, *PXENBUS_S #define XENBUS_SUSPEND_INTERFACE_VERSION_MAX 1 #endif // _XENBUS_SUSPEND_INTERFACE_H - diff --git a/include/unplug_interface.h b/include/unplug_interface.h index 687d7cf..e465e2e 100644 --- a/include/unplug_interface.h +++ b/include/unplug_interface.h @@ -114,4 +114,3 @@ typedef struct _XENBUS_UNPLUG_INTERFACE_V1 XENBUS_UNPLUG_INTERFACE, *PXENBUS_UNP #define XENBUS_UNPLUG_INTERFACE_VERSION_MAX 1 #endif // _XENBUS_UNPLUG_INTERFACE_H - diff --git a/src/xen/acpi.h b/src/xen/acpi.h index 43759b2..f188905 100644 --- a/src/xen/acpi.h +++ b/src/xen/acpi.h @@ -106,4 +106,3 @@ AcpiTeardown( ); #endif // _XEN_ACPI_H - diff --git a/src/xen/amd64/hypercall_thunk.asm b/src/xen/amd64/hypercall_thunk.asm index 456761d..af045bb 100644 --- a/src/xen/amd64/hypercall_thunk.asm +++ b/src/xen/amd64/hypercall_thunk.asm @@ -39,5 +39,3 @@ hypercall3 proc hypercall3 endp end - - diff --git a/src/xen/i386/hypercall_thunk.asm b/src/xen/i386/hypercall_thunk.asm index 1b1fa9c..a15ae27 100644 --- a/src/xen/i386/hypercall_thunk.asm +++ b/src/xen/i386/hypercall_thunk.asm @@ -43,5 +43,3 @@ _hypercall3@16 proc _hypercall3@16 endp end - - diff --git a/src/xen/memory.c b/src/xen/memory.c index 0def337..dfee22c 100644 --- a/src/xen/memory.c +++ b/src/xen/memory.c @@ -126,5 +126,3 @@ MemoryPopulatePhysmap( return (ULONG)rc; } - - diff --git a/src/xenbus/balloon.h b/src/xenbus/balloon.h index db3a72f..fd20b47 100644 --- a/src/xenbus/balloon.h +++ b/src/xenbus/balloon.h @@ -66,4 +66,3 @@ BalloonTeardown( ); #endif // _XENBUS_BALLOON_H - diff --git a/src/xenbus/bus.h b/src/xenbus/bus.h index 15ac48d..9671bfa 100644 --- a/src/xenbus/bus.h +++ b/src/xenbus/bus.h @@ -50,4 +50,3 @@ BusTeardown( ); #endif // _XENBUS_BUS_H - diff --git a/src/xenbus/debug.h b/src/xenbus/debug.h index 06b21d6..f5a1fda 100644 --- a/src/xenbus/debug.h +++ b/src/xenbus/debug.h @@ -66,4 +66,3 @@ DebugTeardown( ); #endif // _XENBUS_DEBUG_H - diff --git a/src/xenbus/dma.h b/src/xenbus/dma.h index dbb829e..6953385 100644 --- a/src/xenbus/dma.h +++ b/src/xenbus/dma.h @@ -53,4 +53,3 @@ DmaGetAdapter( ); #endif // _XENBUS_DMA_H - diff --git a/src/xenbus/evtchn.h b/src/xenbus/evtchn.h index 7a869af..3a85d45 100644 --- a/src/xenbus/evtchn.h +++ b/src/xenbus/evtchn.h @@ -76,4 +76,3 @@ EvtchnInterrupt( ); #endif // _XENBUS_EVTCHN_H - diff --git a/src/xenbus/evtchn_2l.h b/src/xenbus/evtchn_2l.h index 15ab9b4..9974385 100644 --- a/src/xenbus/evtchn_2l.h +++ b/src/xenbus/evtchn_2l.h @@ -57,4 +57,3 @@ EvtchnTwoLevelTeardown( ); #endif // _XENBUS_EVTCHN_H - diff --git a/src/xenbus/evtchn_fifo.h b/src/xenbus/evtchn_fifo.h index cb1c0d3..03d3edf 100644 --- a/src/xenbus/evtchn_fifo.h +++ b/src/xenbus/evtchn_fifo.h @@ -57,4 +57,3 @@ EvtchnFifoTeardown( ); #endif // _XENBUS_EVTCHN_FIFO_H - diff --git a/src/xenbus/gnttab.h b/src/xenbus/gnttab.h index 0b3c6f4..df74e39 100644 --- a/src/xenbus/gnttab.h +++ b/src/xenbus/gnttab.h @@ -66,4 +66,3 @@ GnttabTeardown( ); #endif // _XENBUS_GNTTAB_H - diff --git a/src/xenbus/hash_table.c b/src/xenbus/hash_table.c index fe193a7..66d5ddd 100644 --- a/src/xenbus/hash_table.c +++ b/src/xenbus/hash_table.c @@ -444,4 +444,3 @@ HashTableDestroy( ASSERT(IsZeroMemory(Table, sizeof (XENBUS_HASH_TABLE))); __HashTableFree(Table); } - diff --git a/src/xenbus/hash_table.h b/src/xenbus/hash_table.h index beed2d6..ef1abe5 100644 --- a/src/xenbus/hash_table.h +++ b/src/xenbus/hash_table.h @@ -68,4 +68,3 @@ HashTableDestroy( ); #endif // _XENBUS_HASH_TABLE_H - diff --git a/src/xenbus/shared_info.h b/src/xenbus/shared_info.h index a42116c..9b88288 100644 --- a/src/xenbus/shared_info.h +++ b/src/xenbus/shared_info.h @@ -66,4 +66,3 @@ SharedInfoTeardown( ); #endif // _XENBUS_SHARED_INFO_H - diff --git a/src/xenbus/store.h b/src/xenbus/store.h index 825cfa1..bf7d692 100644 --- a/src/xenbus/store.h +++ b/src/xenbus/store.h @@ -66,4 +66,3 @@ StoreTeardown( ); #endif // _XENBUS_STORE_H - diff --git a/src/xenbus/sync.h b/src/xenbus/sync.h index b812e11..7170946 100644 --- a/src/xenbus/sync.h +++ b/src/xenbus/sync.h @@ -89,4 +89,3 @@ SyncRelease( ); #endif // _XENBUS_SYNC_H - diff --git a/src/xenbus/thread.c b/src/xenbus/thread.c index 6876930..03f022d 100644 --- a/src/xenbus/thread.c +++ b/src/xenbus/thread.c @@ -224,4 +224,3 @@ ThreadJoin( __ThreadFree(Thread); } - diff --git a/src/xenbus/thread.h b/src/xenbus/thread.h index 6982441..633b3dd 100644 --- a/src/xenbus/thread.h +++ b/src/xenbus/thread.h @@ -73,4 +73,3 @@ ThreadJoin( ); #endif // _XENBUS_THREAD_H - diff --git a/src/xenfilt/thread.c b/src/xenfilt/thread.c index 8013ab6..fe8639b 100644 --- a/src/xenfilt/thread.c +++ b/src/xenfilt/thread.c @@ -224,4 +224,3 @@ ThreadJoin( __ThreadFree(Thread); } - diff --git a/src/xenfilt/thread.h b/src/xenfilt/thread.h index 1f9a2a1..d3c4975 100644 --- a/src/xenfilt/thread.h +++ b/src/xenfilt/thread.h @@ -73,4 +73,3 @@ ThreadJoin( ); #endif // _XENFILT_THREAD_H -