AP_Notify: remove pointless zeroing of memory

this is static memory
This commit is contained in:
Peter Barker 2023-03-11 14:22:33 +11:00 committed by Andrew Tridgell
parent c35d1bd82e
commit 56d6acf985
1 changed files with 0 additions and 4 deletions

View File

@ -412,10 +412,6 @@ void AP_Notify::add_backends(void)
// initialisation
void AP_Notify::init(void)
{
// clear all flags and events
memset(&AP_Notify::flags, 0, sizeof(AP_Notify::flags));
memset(&AP_Notify::events, 0, sizeof(AP_Notify::events));
// add all the backends
add_backends();
}