gluon-radv-filterd: remove unneeded memset
(cherry picked from commit e384f899b7
)
This commit is contained in:
parent
12f90e3a57
commit
bc066b88e6
@ -559,14 +559,13 @@ static int parse_tt_local(struct nl_msg *msg,
|
||||
}
|
||||
|
||||
static void update_tqs(void) {
|
||||
static const struct ether_addr unspec = {};
|
||||
struct router *router;
|
||||
bool update_originators = false;
|
||||
struct ether_addr unspec;
|
||||
struct batadv_nlquery_opts opts;
|
||||
int ret;
|
||||
|
||||
// reset TQs
|
||||
memset(&unspec, 0, sizeof(unspec));
|
||||
foreach(router, G.routers) {
|
||||
router->tq = 0;
|
||||
if (ether_addr_equal(router->originator, unspec))
|
||||
|
Loading…
Reference in New Issue
Block a user