From de6dddce76304db9adde1c96022cd862efd5f5b2 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 19 Jul 2016 16:22:24 -0500 Subject: [PATCH] netdev: Remove redundant associate_msg --- src/netdev.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/netdev.c b/src/netdev.c index 44f9e3d8..1903dafa 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -61,7 +61,6 @@ struct netdev { netdev_connect_cb_t connect_cb; netdev_disconnect_cb_t disconnect_cb; void *user_data; - struct l_genl_msg *associate_msg; struct eapol_sm *sm; struct l_io *eapol_io; uint8_t remote_addr[ETH_ALEN]; @@ -289,11 +288,6 @@ static void netdev_shutdown_one(void *data, void *user_data) netdev->eapol_io = NULL; } - if (netdev->associate_msg) { - l_genl_msg_unref(netdev->associate_msg); - netdev->associate_msg = NULL; - } - netdev_set_linkmode_and_operstate(netdev->index, 0, IF_OPER_DOWN, netdev_operstate_down_cb, L_UINT_TO_PTR(netdev->index));