Skip to content

Commit

Permalink
Merge pull request #2216 from rgrr/remove-tud_network_link_state_cb
Browse files Browse the repository at this point in the history
removed obsolete tud_network_link_state_cb()
  • Loading branch information
HiFiPhile committed May 7, 2024
2 parents e5b6f93 + 4abdfc1 commit 74e5749
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
3 changes: 0 additions & 3 deletions src/class/net/net_device.h
Expand Up @@ -87,9 +87,6 @@ void tud_network_init_cb(void);
// TODO removed later since it is not part of tinyusb stack
extern uint8_t tud_network_mac_address[6];

// callback to client providing optional indication of internal state of network driver
void tud_network_link_state_cb(bool state);

//--------------------------------------------------------------------+
// INTERNAL USBD-CLASS DRIVER API
//--------------------------------------------------------------------+
Expand Down
10 changes: 1 addition & 9 deletions test/fuzz/net_fuzz.cc
Expand Up @@ -69,14 +69,6 @@ void tud_network_init_cb(void) {
// TODO removed later since it is not part of tinyusb stack
uint8_t tud_network_mac_address[6] = {0};

//------------- NCM -------------//

// callback to client providing optional indication of internal state of network
// driver
void tud_network_link_state_cb(bool state) {
(void)state;
// NoOp.
}
}
} // extern "C"

#endif

0 comments on commit 74e5749

Please sign in to comment.