Skip to content

Commit

Permalink
Remove trailing blank lines
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Paul Durrant committed Mar 23, 2023
1 parent 1854b11 commit 7cbb053
Show file tree
Hide file tree
Showing 32 changed files with 2 additions and 37 deletions.
5 changes: 2 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -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.

1 change: 0 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ Maintainers List
* Ben Chalmers <[email protected]>

* Owen Smith <[email protected]>

1 change: 0 additions & 1 deletion include/balloon_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion include/debug_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion include/emulated_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion include/evtchn_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion include/gnttab_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion include/range_set_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion include/store_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion include/suspend_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion include/unplug_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 0 additions & 1 deletion src/xen/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@ AcpiTeardown(
);

#endif // _XEN_ACPI_H

2 changes: 0 additions & 2 deletions src/xen/amd64/hypercall_thunk.asm
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ hypercall3 proc
hypercall3 endp

end


2 changes: 0 additions & 2 deletions src/xen/i386/hypercall_thunk.asm
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@ _hypercall3@16 proc
_hypercall3@16 endp

end


2 changes: 0 additions & 2 deletions src/xen/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,3 @@ MemoryPopulatePhysmap(

return (ULONG)rc;
}


1 change: 0 additions & 1 deletion src/xenbus/balloon.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ BalloonTeardown(
);

#endif // _XENBUS_BALLOON_H

1 change: 0 additions & 1 deletion src/xenbus/bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ BusTeardown(
);

#endif // _XENBUS_BUS_H

1 change: 0 additions & 1 deletion src/xenbus/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ DebugTeardown(
);

#endif // _XENBUS_DEBUG_H

1 change: 0 additions & 1 deletion src/xenbus/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ DmaGetAdapter(
);

#endif // _XENBUS_DMA_H

1 change: 0 additions & 1 deletion src/xenbus/evtchn.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ EvtchnInterrupt(
);

#endif // _XENBUS_EVTCHN_H

1 change: 0 additions & 1 deletion src/xenbus/evtchn_2l.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ EvtchnTwoLevelTeardown(
);

#endif // _XENBUS_EVTCHN_H

1 change: 0 additions & 1 deletion src/xenbus/evtchn_fifo.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ EvtchnFifoTeardown(
);

#endif // _XENBUS_EVTCHN_FIFO_H

1 change: 0 additions & 1 deletion src/xenbus/gnttab.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ GnttabTeardown(
);

#endif // _XENBUS_GNTTAB_H

1 change: 0 additions & 1 deletion src/xenbus/hash_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,4 +444,3 @@ HashTableDestroy(
ASSERT(IsZeroMemory(Table, sizeof (XENBUS_HASH_TABLE)));
__HashTableFree(Table);
}

1 change: 0 additions & 1 deletion src/xenbus/hash_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ HashTableDestroy(
);

#endif // _XENBUS_HASH_TABLE_H

1 change: 0 additions & 1 deletion src/xenbus/shared_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ SharedInfoTeardown(
);

#endif // _XENBUS_SHARED_INFO_H

1 change: 0 additions & 1 deletion src/xenbus/store.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ StoreTeardown(
);

#endif // _XENBUS_STORE_H

1 change: 0 additions & 1 deletion src/xenbus/sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,3 @@ SyncRelease(
);

#endif // _XENBUS_SYNC_H

1 change: 0 additions & 1 deletion src/xenbus/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,3 @@ ThreadJoin(

__ThreadFree(Thread);
}

1 change: 0 additions & 1 deletion src/xenbus/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,3 @@ ThreadJoin(
);

#endif // _XENBUS_THREAD_H

1 change: 0 additions & 1 deletion src/xenfilt/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,3 @@ ThreadJoin(

__ThreadFree(Thread);
}

1 change: 0 additions & 1 deletion src/xenfilt/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,3 @@ ThreadJoin(
);

#endif // _XENFILT_THREAD_H

0 comments on commit 7cbb053

Please sign in to comment.