mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 21:20:48 +00:00
zebra: No need to set msg to NULL
The msg value is always reset to something new before it is used inside the mutex. No need to set it to NULL. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
1f7038386e
commit
c2cf522347
@ -507,8 +507,6 @@ static void zserv_process_messages(struct event *thread)
|
||||
stream_fifo_push(cache, msg);
|
||||
}
|
||||
|
||||
msg = NULL;
|
||||
|
||||
/* Need to reschedule processing work if there are still
|
||||
* packets in the fifo.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user