From 1fc480c00704f2271a5387dacbeace15e543570a Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 19 Sep 2019 21:05:57 -0500 Subject: [PATCH] manager: Remove stale comment setup_timeout was removed by the previous patch, so this comment no longer applies. --- src/manager.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/manager.c b/src/manager.c index 44437ab9..40eb32c1 100644 --- a/src/manager.c +++ b/src/manager.c @@ -402,17 +402,6 @@ static struct wiphy_setup_state *manager_rx_cmd_new_wiphy( if (!wiphy) return NULL; - /* - * We've got a new wiphy, flag it as new and wait for a - * NEW_INTERFACE event for this wiphy's default driver-created - * interface. That event's handler will check the flag and - * finish setting up the interfaces for this new wiphy and then - * clear the flag. In some corner cases there may be no - * default interface on this wiphy and no user-space created - * interfaces from before IWD started, so set a 1-second timeout - * for the event. The timeout pointer is also used as the flag. - */ - state = l_new(struct wiphy_setup_state, 1); state->id = id; state->wiphy = wiphy;