hostapd: clean-up references to local variables
authorMatthew Cather <[email protected]>
Mon, 3 Mar 2025 19:40:39 +0000 (13:40 -0600)
committerFelix Fietkau <[email protected]>
Wed, 5 Mar 2025 07:04:52 +0000 (08:04 +0100)
commitaf658023191d6fad252e1a08c9b8b1a23761d7a4
tree3b59f510b6fbea7d33e37456f6afd1ef6b4d19a7
parentb7ab34d46ca354ed002c192c84aef5fa8fb53ed7
hostapd: clean-up references to local variables

Remove extra ucv_get calls when passing a referenced value to an object
without using it further.

Signed-off-by: Matthew Cather <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
(cherry picked from commit 22eaf1864731dd29918357b26565dbd9420fd314)
package/network/services/hostapd/src/src/ap/ucode.c
package/network/services/hostapd/src/src/utils/ucode.c
package/network/services/hostapd/src/wpa_supplicant/ucode.c