summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libudev-monitor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libudev-monitor.c b/src/libudev-monitor.c
index 0b57072158..77dc55572f 100644
--- a/src/libudev-monitor.c
+++ b/src/libudev-monitor.c
@@ -588,7 +588,6 @@ UDEV_EXPORT struct udev_device *udev_monitor_receive_device(struct udev_monitor
retry:
if (udev_monitor == NULL)
return NULL;
- memset(buf, 0x00, sizeof(buf));
iov.iov_base = &buf;
iov.iov_len = sizeof(buf);
memset (&smsg, 0x00, sizeof(struct msghdr));