delete useless comments in last commit

This commit is contained in:
renzibei 2022-12-01 22:12:33 +00:00
parent 7fe40f937e
commit fb832ef92f
2 changed files with 0 additions and 2 deletions

View File

@ -163,7 +163,6 @@ kern_uuidgen(struct uuid *store, size_t count)
uuid.time.x.mid = (uint16_t)(time >> 32); uuid.time.x.mid = (uint16_t)(time >> 32);
uuid.time.x.hi = ((uint16_t)(time >> 48) & 0xfff) | (1 << 12); uuid.time.x.hi = ((uint16_t)(time >> 48) & 0xfff) | (1 << 12);
memcpy(store + n, &uuid, sizeof(struct uuid)); memcpy(store + n, &uuid, sizeof(struct uuid));
// store[n] = *(struct uuid *)&uuid;
time++; time++;
} }

View File

@ -876,7 +876,6 @@ rt_getmetrics(const struct rtentry *rt, const struct nhop_object *nh,
} }
static void static void
// init_sockaddrs_family(int family, struct sockaddr *dst, struct sockaddr *mask)
init_sockaddrs_family(int family, union sockaddr_union *dst, union sockaddr_union *mask) init_sockaddrs_family(int family, union sockaddr_union *dst, union sockaddr_union *mask)
{ {
if (family == AF_INET) { if (family == AF_INET) {