Skip to content

Commit 5bcc185

Browse files
committed
Clean.
1 parent 76949ee commit 5bcc185

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

IntelBluetoothFirmware/BtIntel.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -259,20 +259,3 @@ loadDDCConfig(const char *ddcFileName)
259259
XYLog("Load DDC config done\n");
260260
return true;
261261
}
262-
263-
void BtIntel::
264-
printAllByte(void *addr, int size)
265-
{
266-
unsigned char *ptr = (unsigned char*)addr;
267-
int print_bytes = 0;
268-
269-
if(NULL == ptr) {
270-
return;
271-
}
272-
273-
while(print_bytes < size) {
274-
XYLog("%02x\n", *ptr);
275-
ptr++;
276-
print_bytes++;
277-
}
278-
}

IntelBluetoothFirmware/BtIntel.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,6 @@ class BtIntel : public OSObject {
186186

187187
OSData *requestFirmwareData(const char *fwName, bool noWarn = false);
188188

189-
static void printAllByte(void *addr, int size);
190-
191189
protected:
192190

193191
bool intelSendHCISync(HciCommandHdr *cmd, void *event, uint32_t eventBufSize, uint32_t *size, int timeout);

IntelBluetoothFirmware/IntelBluetoothOpsGen2.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ downloadFirmwarePayload(OSData *fwData, size_t offset)
408408
bool IntelBluetoothOpsGen2::
409409
firmwareVersion(uint8_t num, uint8_t ww, uint8_t yy, OSData *fwData, uint32_t *bootAddr)
410410
{
411-
XYLog("%s\n", __FUNCTION__);
412411
const uint8_t *fw_ptr = (const uint8_t *)fwData->getBytesNoCopy();
413412

414413
while (fw_ptr - (uint8_t *)fwData->getBytesNoCopy() < fwData->getLength()) {

0 commit comments

Comments
 (0)