Remove more wider memset() over control now that it's handled below (#38621)

This commit is contained in:
Mukund Sivaraman
2015-03-02 12:52:41 +05:30
parent 5e93bad21b
commit 0ea9f8037d

View File

@@ -519,8 +519,6 @@ cmsgsend(int s, int level, int type, struct addrinfo *res) {
return (ISC_FALSE);
}
memset(&control, 0, sizeof(control));
iovec.iov_base = buf;
iovec.iov_len = sizeof(buf);