]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Remove unused function declaration (trivial)
authorVMware, Inc <>
Thu, 18 Nov 2010 21:54:14 +0000 (13:54 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Thu, 18 Nov 2010 21:54:14 +0000 (13:54 -0800)
HgfsServer_ProcessPacket no longer exists so removing.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/hgfsServer/hgfsServerPacketUtil.c
open-vm-tools/lib/include/hgfsServer.h

index 3b17f2f92caccd93c82ca4c068ce4ac2c916fc46..20f05da2dc70fe6713e3aeafa984d81090f293e1 100644 (file)
@@ -63,11 +63,6 @@ HSPU_GetReplyPacket(HgfsPacket *packet,        // IN/OUT: Hgfs Packet
        */
       LOG(4, ("Exising reply packet %s %Zu %Zu\n", __FUNCTION__,
               *replyPacketSize, packet->replyPacketSize));
-      /*
-       * HgfsServer_ProcessPacket does not tell us the real size of packetOut.
-       * It assumes that size of reply packet can never be bigger than size of
-       * the outgoing packet. I changed it to HGFS_LARGE_PACKET_MAX.
-       */
       ASSERT_DEVEL(*replyPacketSize <= packet->replyPacketSize);
    } else if (session->channelCbTable && session->channelCbTable->getWriteVa) {
      /* Can we write directly into guest memory ? */
index da66e9589b625dc533024e4b66876958a19479a7..e3731e9fc59c3459ed543979c1e5a1aa47718a5d 100644 (file)
@@ -144,12 +144,6 @@ void HgfsServer_ExitState(void);
 uint32 HgfsServer_GetHandleCounter(void);
 void HgfsServer_SetHandleCounter(uint32 newHandleCounter);
 
-#ifdef VMX86_TOOLS
-void HgfsServer_ProcessPacket(char const *packetIn,
-                              char *packetOut,
-                              size_t *packetSize);
-#endif
-
 /*
  * Function pointers used for getting names in HgfsServerGetDents
  *