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)
committerMauro Rossi <issor.oruam@gmail.com>
Fri, 9 Sep 2022 22:19:44 +0000 (00:19 +0200)
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