Skip to content

Commit 23c6799

Browse files
committed
Code cleanup
1 parent c5d27ea commit 23c6799

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/main.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ void pcap_loop_callback(u_char* user, const struct pcap_pkthdr *h, const u_char*
7979
bus->push(h, bytes);
8080
}
8181

82-
void pcap_usb_loop(pcap_t* hs, usbtop::UsbBus* bus)
83-
{
84-
std::cerr << "Thread launched for bus " << bus->id() << std::endl;
85-
pcap_loop(hs, 0, pcap_loop_callback, (u_char*) bus);
86-
}
87-
8882
void clean_pcap_live(pcap_buses_t const& pcap_hs)
8983
{
9084
for (pcap_bus const& pb: pcap_hs) {

0 commit comments

Comments
 (0)