OSDN Git Service

Remove the unused function
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 10 Jun 2018 09:46:25 +0000 (17:46 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 12 Jun 2018 06:31:32 +0000 (14:31 +0800)
vendor_libs/linux/interface/hci_packetizer.cc

index 0c0a979..6016cad 100644 (file)
@@ -52,6 +52,7 @@ void HciPacketizer::CbHciPacket(uint8_t *data, size_t len) {
     packet_ready_cb_();
 }
 
+#if 0
 void HciPacketizer::OnDataReady(int fd, HciPacketType packet_type) {
   switch (state_) {
     case HCI_PREAMBLE: {
@@ -89,6 +90,7 @@ void HciPacketizer::OnDataReady(int fd, HciPacketType packet_type) {
     }
   }
 }
+#endif
 
 }  // namespace hci
 }  // namespace bluetooth