commit 71c125193f9ca7ce9c9e6a98dc4859ff23e5e786
parent c972684e1ac7c1818c0ecf98be0fdc5f3e38d122
Author: Denis Kenzior <denkenz@gmail.com>
Date: Sat, 30 Sep 2023 17:19:22 -0500
wiphy: Remove unused wiphy_get_permanent_address()
Diffstat:
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/wiphy.c b/src/wiphy.c
@@ -730,11 +730,6 @@ bool wiphy_power_save_disabled(struct wiphy *wiphy)
return false;
}
-const uint8_t *wiphy_get_permanent_address(struct wiphy *wiphy)
-{
- return wiphy->permanent_addr;
-}
-
const uint8_t *wiphy_get_extended_capabilities(struct wiphy *wiphy,
uint32_t iftype)
{
diff --git a/src/wiphy.h b/src/wiphy.h
@@ -136,7 +136,6 @@ const char *wiphy_get_name(struct wiphy *wiphy);
bool wiphy_uses_default_if(struct wiphy *wiphy);
bool wiphy_control_port_enabled(struct wiphy *wiphy);
bool wiphy_power_save_disabled(struct wiphy *wiphy);
-const uint8_t *wiphy_get_permanent_address(struct wiphy *wiphy);
const uint8_t *wiphy_get_extended_capabilities(struct wiphy *wiphy,
uint32_t iftype);
const uint8_t *wiphy_get_rm_enabled_capabilities(struct wiphy *wiphy);