]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
HGFS: remove some unused server code
authorVMware, Inc <>
Fri, 12 Apr 2013 19:52:46 +0000 (12:52 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Wed, 17 Apr 2013 19:16:55 +0000 (12:16 -0700)
Remove the HgfsVaIov and the unused HSPU_GetDataPacketIov that used it.
If we needed it is not clear and what the rationale for any expected
usage was not commented. So removed it.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/hgfsServer/hgfsServerPacketUtil.c
open-vm-tools/lib/include/hgfsServer.h

index 0831f147e3483dffc0e25acfb341489d560000de..925455b3118dce0f324536da787d54bb6664dbe1 100644 (file)
@@ -158,33 +158,6 @@ HSPU_GetMetaPacket(HgfsPacket *packet,        // IN/OUT: Hgfs Packet
 }
 
 
-/*
- *-----------------------------------------------------------------------------
- *
- * HSPU_GetDataPacketIov --
- *
- *    Get a data packet in an iov form given an hgfs packet.
- *    Guest mappings will be established.
- *
- * Results:
- *    Pointer to data packet iov.
- *
- * Side effects:
- *    Buffer may be allocated.
- *-----------------------------------------------------------------------------
- */
-
-void *
-HSPU_GetDataPacketIov(HgfsPacket *packet,       // IN/OUT: Hgfs Packet
-                      HgfsTransportSessionInfo *transportSession, // IN: Session Info
-                      HgfsVaIov iov)            // OUT: I/O vector
-{
-   NOT_IMPLEMENTED();
-   return NULL;
-
-}
-
-
 /*
  *-----------------------------------------------------------------------------
  *
index 1508afdb0682d31577dae9a98f869a2d7a59d3b4..c497cb061c9094933dc092157cb61aaca16d1c1b 100644 (file)
@@ -43,12 +43,6 @@ struct HgfsVmxIov {
    char *token;        /* Token for physMem_ APIs */
 } HgfsVmxIov;
 
-typedef
-struct HgfsVaIov {
-   void *va;
-   uint32 len;
-}HgfsVaIov;
-
 typedef enum {
    BUF_READABLE,      /* Establish readable mappings */
    BUF_WRITEABLE,     /* Establish writeable mappings */