device: drop an unused variable

src/devices/nm-device.c:7764:25: error: unused variable 'stable_hwaddr' [-Werror,-Wunused-variable]
        gs_unref_bytes GBytes *stable_hwaddr = NULL;
                               ^
This commit is contained in:
Lubomir Rintel 2018-06-13 15:56:27 +02:00
parent 4bb1130ce6
commit 74c2a0aca4

View file

@ -7761,7 +7761,6 @@ generate_duid_ll (const guint8 *hwaddr /* ETH_ALEN bytes */)
GByteArray *duid_arr;
const guint16 duid_type = htons (3);
const guint16 hw_type = htons (ARPHRD_ETHER);
gs_unref_bytes GBytes *stable_hwaddr = NULL;
duid_arr = g_byte_array_sized_new (2 + 2 + ETH_ALEN);