From: VMware, Inc <> Date: Thu, 18 Nov 2010 21:54:14 +0000 (-0800) Subject: Remove unused function declaration (trivial) X-Git-Tag: 2010.11.17-327185~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=556db9581d5089e804f3d7ce705ae7035dcae8a0;p=thirdparty%2Fopen-vm-tools.git Remove unused function declaration (trivial) HgfsServer_ProcessPacket no longer exists so removing. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerPacketUtil.c b/open-vm-tools/lib/hgfsServer/hgfsServerPacketUtil.c index 3b17f2f92..20f05da2d 100644 --- a/open-vm-tools/lib/hgfsServer/hgfsServerPacketUtil.c +++ b/open-vm-tools/lib/hgfsServer/hgfsServerPacketUtil.c @@ -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 ? */ diff --git a/open-vm-tools/lib/include/hgfsServer.h b/open-vm-tools/lib/include/hgfsServer.h index da66e9589..e3731e9fc 100644 --- a/open-vm-tools/lib/include/hgfsServer.h +++ b/open-vm-tools/lib/include/hgfsServer.h @@ -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 *