mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 05:10:09 +01:00
Remove unused variable
'nlh_seq_last_handled' variable is not used anywhere and was emitting bogus warnings on DEBUG level logs, due to not being initialized (but it is not used anywhere...). This commit removes it.
This commit is contained in:
parent
9d8a2d1ba0
commit
8da4910e67
1 changed files with 1 additions and 9 deletions
|
|
@ -422,9 +422,7 @@ typedef struct {
|
|||
GSource *event_source;
|
||||
|
||||
guint32 nlh_seq_next;
|
||||
#if NM_MORE_LOGGING
|
||||
guint32 nlh_seq_last_handled;
|
||||
#endif
|
||||
|
||||
guint32 nlh_seq_last_seen;
|
||||
|
||||
guint32 pruning[_REFRESH_ALL_TYPE_NUM];
|
||||
|
|
@ -7016,12 +7014,6 @@ event_seq_check(NMPlatform *platform,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if NM_MORE_LOGGING
|
||||
if (seq_number != priv->nlh_seq_last_handled)
|
||||
_LOGt("netlink: recvmsg: unwaited sequence number %u", seq_number);
|
||||
priv->nlh_seq_last_handled = seq_number;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue