hostapd: remove unused mac_buff allocation
authorMartin Weinelt <hexa@darmstadt.ccc.de>
Fri, 25 Jun 2021 22:01:08 +0000 (00:01 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 6 Jul 2021 00:26:44 +0000 (02:26 +0200)
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
package/network/services/hostapd/src/src/ap/ubus.c

index 289c8ff7a4541255c06bca4e6df4325dad45c4f8..fb568f9e7bbf07ee51f0e79e785675ec3928b71d 100644 (file)
@@ -408,7 +408,6 @@ hostapd_bss_get_status(struct ubus_context *ctx, struct ubus_object *obj,
        struct os_reltime now;
        char ssid[SSID_MAX_LEN + 1];
        char phy_name[17];
-       char mac_buf[20];
        size_t ssid_len = SSID_MAX_LEN;
 
        if (hapd->conf->ssid.ssid_len < SSID_MAX_LEN)