device: drop a redundant assert
This is essentially: a = b assert(a == b) Not useful. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2233
This commit is contained in:
@@ -13008,7 +13008,6 @@ _dev_addrgenmode6_set(NMDevice *self, guint8 addr_gen_mode)
|
||||
if (!priv->addrgenmode6_data.previous_mode_has) {
|
||||
priv->addrgenmode6_data.previous_mode_has = TRUE;
|
||||
priv->addrgenmode6_data.previous_mode_val = cur_addr_gen_mode;
|
||||
nm_assert(priv->addrgenmode6_data.previous_mode_val == cur_addr_gen_mode);
|
||||
}
|
||||
|
||||
_LOGD_ip(AF_INET6,
|
||||
|
Reference in New Issue
Block a user