Merge pull request #1829 from rubenk/clang-format
[collectd.git] / src / pf.c
index 225d536..c9aeb5f 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
@@ -94,7 +94,6 @@ static int pf_read (void)
                return (-1);
        }
 
-       memset (&state, 0, sizeof (state));
        status = ioctl (fd, DIOCGETSTATUS, &state);
        if (status != 0)
        {