mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-16 19:43:47 +00:00
Removes unnecessary GenericHash::notify_transition
This commit is contained in:
parent
796316b64c
commit
96eb183913
3 changed files with 3 additions and 27 deletions
|
|
@ -68,12 +68,8 @@ void GenericHashEntry::set_state(HashEntryState s) {
|
|||
&& (!iface || iface->isRunning()))
|
||||
ntop->getTrace()->traceEvent(TRACE_ERROR, "Internal error: invalid state transition %d -> %d",
|
||||
hash_entry_state, s);
|
||||
else {
|
||||
else
|
||||
hash_entry_state = s;
|
||||
|
||||
if(hash_table)
|
||||
hash_table->notify_transition(s);
|
||||
}
|
||||
};
|
||||
|
||||
/* ***************************************** */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue