]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commitdiff
Remove unused data structure
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 26 Apr 2017 12:18:55 +0000 (13:18 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 28 Apr 2017 15:53:18 +0000 (16:53 +0100)
XENBUS_CONSOLE_BUFFER is no longer required, so remove the struct
declaration and typedef.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenbus/console.c

index 15aea929917f4c5ecbd7daf6ff903758e90ace4d..b60b800f2ba61a15b59acec7070da7a2126a661b 100644 (file)
 #include "assert.h"
 #include "util.h"
 
-typedef struct _XENBUS_CONSOLE_BUFFER {
-    LIST_ENTRY  ListEntry;
-    ULONG       Offset;
-    ULONG       Length;
-    CHAR        Data[1];    // Variable length array
-} XENBUS_CONSOLE_BUFFER, *PXENBUS_CONSOLE_BUFFER;
-
 struct _XENBUS_CONSOLE_CONTEXT {
     PXENBUS_FDO                 Fdo;
     KSPIN_LOCK                  Lock;