diff options
author | 2024-03-01 05:06:54 +1100 | |
---|---|---|
committer | 2024-03-01 05:06:54 +1100 | |
commit | f28fe7db31dfa205e202889fda6300434f3c0387 (patch) | |
tree | 894b3262290442d33b625f318fad25e714ef2505 /src/osd/osdnet.cpp | |
parent | 3191b41313165e3f6c302107cf1a691e9d752b04 (diff) |
osd: Cleaned up MIDI and network interfaces a little more.
Diffstat (limited to 'src/osd/osdnet.cpp')
-rw-r--r-- | src/osd/osdnet.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/osd/osdnet.cpp b/src/osd/osdnet.cpp index 20ac1cb059d..7fe2f7b2eb7 100644 --- a/src/osd/osdnet.cpp +++ b/src/osd/osdnet.cpp @@ -108,30 +108,3 @@ const std::array<uint8_t, 6> &osd_network_device::get_mac() { return m_dev.get_mac(); } - -int netdev_count() -{ - return netdev_list.size(); -} - -void osd_list_network_adapters() -{ - #ifdef USE_NETWORK - int num_devs = netdev_list.size(); - - if (num_devs == 0) - { - printf("No network adapters were found\n"); - return; - } - - printf("Available network adapters:\n"); - for (auto &entry : netdev_list) - { - printf(" %s\n", entry->description); - } - - #else - printf("Network is not supported in this build\n"); - #endif -} |