Skip to content
Snippets Groups Projects
Commit 739128e4 authored by Lukas Straub's avatar Lukas Straub Committed by Jason Wang
Browse files

net/colo-compare.c: Optimize removal of secondary packet


g_queue_remove needs to look up the list entry first, but we
already have it as result and can remove it directly with
g_queue_delete_link.

Signed-off-by: default avatarLukas Straub <lukasstraub2@web.de>
Signed-off-by: default avatarZhang Chen <chen.zhang@intel.com>
Reviewed-by: default avatarZhang Chen <chen.zhang@intel.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 9162ed66
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment