3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

netdev: Remove redundant associate_msg

This commit is contained in:
Denis Kenzior 2016-07-19 16:22:24 -05:00
parent c977b8092c
commit de6dddce76

View File

@ -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));