The fds variable inside of virNetlinkCommand() is not used
really. It's passed to memset() (hence compilers do not
complain), but that's about it. Drop it.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
.nl_pid = dst_pid,
.nl_groups = 0,
};
- struct pollfd fds[1];
g_autofree struct nlmsghdr *temp_resp = NULL;
g_autoptr(virNetlinkHandle) nlhandle = NULL;
int len = 0;
- memset(fds, 0, sizeof(fds));
-
if (!(nlhandle = virNetlinkSendRequest(nl_msg, src_pid, nladdr,
protocol, groups)))
return -1;