mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 01:47:58 +02:00
device: remove useless check and var
with the rework in commit #87a3df2e572ed47b5f76f6d1cad63ce622296e21 the check of the return value of _device_activate () is no more needed. Remove useless check and var.
This commit is contained in:
parent
dfd72a623e
commit
f867f20ab8
1 changed files with 1 additions and 5 deletions
|
|
@ -12591,15 +12591,11 @@ _set_state_full (NMDevice *self,
|
|||
if ( priv->queued_act_request
|
||||
&& !priv->queued_act_request_is_waiting_for_carrier) {
|
||||
NMActRequest *queued_req;
|
||||
gboolean success;
|
||||
|
||||
queued_req = priv->queued_act_request;
|
||||
priv->queued_act_request = NULL;
|
||||
success = _device_activate (self, queued_req);
|
||||
_device_activate (self, queued_req);
|
||||
g_object_unref (queued_req);
|
||||
if (success)
|
||||
break;
|
||||
/* fall through */
|
||||
}
|
||||
break;
|
||||
case NM_DEVICE_STATE_ACTIVATED:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue