diff --git a/port/ios/src/bt_control_iphone.m b/port/ios/src/bt_control_iphone.m index ae9c58595..51d45af83 100644 --- a/port/ios/src/bt_control_iphone.m +++ b/port/ios/src/bt_control_iphone.m @@ -180,10 +180,6 @@ int iphone_system_is_valid(void *config){ return 1; } -static const char * iphone_name(void *config){ - return get_machine_name(); -} - // Get BD_ADDR from IORegistry static void ioregistry_get_info(void){ mach_port_t mp; @@ -760,7 +756,6 @@ bt_control_t bt_control_iphone = { .off = iphone_off, .sleep = iphone_sleep, .wake = iphone_wake, - .name = iphone_name, .register_for_power_notifications = iphone_register_for_power_notifications }; diff --git a/src/btstack_control.h b/src/btstack_control.h index f10d73574..a5c9f5a21 100644 --- a/src/btstack_control.h +++ b/src/btstack_control.h @@ -64,11 +64,6 @@ typedef struct { int (*off) (void *config); // <-- turn BT module off int (*sleep)(void *config); // <-- put BT module to sleep - only to be called after ON int (*wake) (void *config); // <-- wake BT module from sleep - only to be called after SLEEP - - // check what it is needed for - const char * (*name) (void *config); // <-- return hardware name - - // stays void (*register_for_power_notifications)(void (*cb)(POWER_NOTIFICATION_t event)); // move to hci.h