OSDN Git Service

Remove the unused function
[android-x86/system-bt.git] / 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