]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Trivial: Remove hgfsServer.h dependency
authorVMware, Inc <>
Mon, 26 Apr 2010 18:04:36 +0000 (11:04 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Tue, 27 Apr 2010 03:48:51 +0000 (20:48 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/include/hgfsServer.h
open-vm-tools/lib/include/hgfsTransport.h
open-vm-tools/modules/linux/vmhgfs/request.h
open-vm-tools/modules/linux/vmhgfs/vmci.c

index e8f01f7b9690d33ac84cd50505cbc28af7ba92b5..29c8faef09a0071ff54640d5280c50735203bf82 100644 (file)
@@ -35,8 +35,6 @@ typedef struct HgfsServerStateLogger {
    void                       *loggerData;   // logger callback private data
 } HgfsServerStateLogger;
 
-
-#define HGFS_MAX_IOV 3
 #define HGFS_BUF_READABLE  0x0000cafe
 #define HGFS_BUF_WRITEABLE 0x0000babe
 
index 2e68f85342aa2c3351ffe2c91d0a573421800618..109b6b37173f33b9bcb86c2fbbd27f26eb87bdf2 100644 (file)
@@ -40,7 +40,6 @@
 # define _HGFS_TRANSPORT_H_
 
 #include "vmci_defs.h"
-#include "hgfsServer.h"   /* For HGFS_MAX_IOV */
 
 /****************************************
  * Vsock, Tcp specific data structures  *
index 29a5483f7d598d473f641663b9a64b1bfbcec6fa..3eae8389ee260f98d844c755cf35aa66aa9fc390 100644 (file)
@@ -45,8 +45,6 @@
 #define HGFS_REQ_PAYLOAD_V3(hgfsReq) (HGFS_REQ_PAYLOAD(hgfsReq) + sizeof(HgfsRequest))
 #define HGFS_REP_PAYLOAD_V3(hgfsRep) (HGFS_REQ_PAYLOAD(hgfsRep) + sizeof(HgfsReply))
 
-#define HGFS_MAX_PAGES 2
-
 /*
  * HGFS_REQ_STATE_ALLOCATED:
  *    The filesystem half has allocated the request from the slab
index b3c139df26325f6eb470361290be4fcf617f8a27..617165293ee4eee98d8a1ce651ba4832f415df74 100644 (file)
@@ -370,8 +370,6 @@ HgfsVmciChannelSend(HgfsTransportChannel *channel, // IN: Channel
 
    transportHeader->iovCount = iovCount;
 
-   ASSERT(iovCount <= HGFS_MAX_IOV);
-
    /* Initialize transport Status */
    transportStatus = (HgfsVmciTransportStatus *)req->buffer;
    transportStatus->status = HGFS_VMCI_IO_PENDING;