Changeset 62872 in vbox for trunk/src/VBox/ValidationKit/utils/usb
- Timestamp:
- Aug 2, 2016 1:45:23 PM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/utils/usb
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/usb/UsbTestService.cpp
r62471 r62872 467 467 } 468 468 469 #if 0 /* unused */ 469 470 /** 470 471 * Signal a bad packet minum size. … … 480 481 cbMin, pPktHdr->cb, pPktHdr->achOpcode); 481 482 } 483 #endif 482 484 483 485 /** … … 495 497 } 496 498 499 #if 0 /* unused */ 497 500 /** 498 501 * Deals with a command that isn't implemented yet. … … 505 508 return utsReplyFailure(pClient, pPktHdr, "NOT IMPL", VERR_NOT_IMPLEMENTED, "Opcode '%.8s' is not implemented", pPktHdr->achOpcode); 506 509 } 510 #endif 507 511 508 512 /** … … 1074 1078 static DECLCALLBACK(int) utsClientWorker(RTTHREAD hThread, void *pvUser) 1075 1079 { 1076 unsigned cClientsMax = 0; 1077 unsigned cClientsCur = 0; 1078 PUTSCLIENT *papClients = NULL; 1079 RTPOLLSET hPollSet; 1080 RT_NOREF2(hThread, pvUser); 1081 unsigned cClientsMax = 0; 1082 unsigned cClientsCur = 0; 1083 PUTSCLIENT *papClients = NULL; 1084 RTPOLLSET hPollSet; 1080 1085 1081 1086 int rc = RTPollSetCreate(&hPollSet); -
trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceGadgetHostUsbIp.cpp
r62471 r62872 78 78 static int usbGadgetHostUsbIpBindUnbind(PUTSGADGETHOSTTYPEINT pThis, UTSGADGET hGadget, bool fBind) 79 79 { 80 RT_NOREF1(pThis); 80 81 uint32_t uBusId, uDevId; 81 82 char aszBus[32]; … … 194 195 { 195 196 /* Nothing to do so far. */ 197 RT_NOREF2(pIf, hGadget); 196 198 return VINF_SUCCESS; 197 199 } … … 204 206 { 205 207 /* Nothing to do so far. */ 208 RT_NOREF2(pIf, hGadget); 206 209 return VINF_SUCCESS; 207 210 } -
trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceProtocol.cpp
r60287 r62872 99 99 DECLHIDDEN(void) utsProtocolReqN2H(PUTSPKTHDR pPktHdr) 100 100 { 101 101 RT_NOREF1(pPktHdr); 102 102 } 103 103 … … 105 105 DECLHIDDEN(void) utsProtocolRepH2N(PUTSPKTSTS pPktHdr) 106 106 { 107 107 RT_NOREF1(pPktHdr); 108 108 } 109 109 … … 111 111 DECLHIDDEN(void) utsProtocolRepN2H(PUTSPKTSTS pPktHdr) 112 112 { 113 113 RT_NOREF1(pPktHdr); 114 114 } -
trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceTcp.cpp
r62471 r62872 88 88 /** Pointer to the TCP server instance. */ 89 89 static PRTTCPSERVER g_pTcpServer = NULL; 90 #if 0 /* unused */ 90 91 /** Stop connecting attempts when set. */ 91 92 static bool g_fTcpStopConnecting = false; 93 #endif 92 94 93 95 … … 175 177 { 176 178 /* nothing to do here */ 179 RT_NOREF1(pClient); 177 180 } 178 181 … … 360 363 static DECLCALLBACK(int) utsTcpPollSetRemove(RTPOLLSET hPollSet, PUTSTRANSPORTCLIENT pClient, uint32_t idStart) 361 364 { 365 RT_NOREF1(pClient); 362 366 return RTPollSetRemove(hPollSet, idStart); 363 367 }
Note:
See TracChangeset
for help on using the changeset viewer.