summaryrefslogtreecommitdiff
path: root/src/platform/wifi
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-02-23 22:04:11 +0100
committerLubomir Rintel <lkundrak@v3.sk>2018-02-23 22:04:11 +0100
commitd7108d9362a3a87e59652b661213d1bd19beb10a (patch)
tree9dc266b536f6acfc091a320365e68eeeca9b8f19 /src/platform/wifi
parent8b003e6d0613780deec5b7d271cdf6b096d7d5a4 (diff)
downloadNetworkManager-d7108d9362a3a87e59652b661213d1bd19beb10a.tar.gz
platform/wifi: drop an unused variable
src/platform/wifi/wifi-utils-nl80211.c:192:31: error: unused variable 'msg_free' [-Werror,-Wunused-variable] nm_auto_nlmsg struct nl_msg *msg_free = msg; Fixes: a7bda2ed12b958fd605e78a2512aa7246046983a
Diffstat (limited to 'src/platform/wifi')
-rw-r--r--src/platform/wifi/wifi-utils-nl80211.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/platform/wifi/wifi-utils-nl80211.c b/src/platform/wifi/wifi-utils-nl80211.c
index e0a9633591..5c33b48d7f 100644
--- a/src/platform/wifi/wifi-utils-nl80211.c
+++ b/src/platform/wifi/wifi-utils-nl80211.c
@@ -189,7 +189,6 @@ _nl80211_send_and_recv (struct nl_sock *nl_sock,
int (*valid_handler) (struct nl_msg *, void *),
void *valid_data)
{
- nm_auto_nlmsg struct nl_msg *msg_free = msg;
int err;
int done = 0;
const struct nl_cb cb = {