Commit 3291370b authored by Antonin Décimo's avatar Antonin Décimo Committed by Juliusz Chroboczek

Remove unneeded call to memset.

The buffer is already zero'ed on declaration.
parent 81342497
......@@ -1654,8 +1654,6 @@ flush_rule(int prio, int family)
struct rtmsg *message = NULL;
struct rtattr *current_attribute = NULL;
memset(buffer, 0, sizeof(buffer));
kdebugf("Flush rule v%c prio %d\n", family == AF_INET ? '4' : '6', prio);
#if RTA_ALIGNTO != NLMSG_ALIGNTO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment