Whamcloud - gitweb
LU-5304: do not memset after LIBCFS_ALLOC
[fs/lustre-release.git] / libcfs / libcfs / linux / linux-tcpip.c
index dd609c0..de1a63f 100644 (file)
@@ -234,8 +234,6 @@ libcfs_ipif_enumerate (char ***namesp)
                 rc = -ENOMEM;
                 goto out1;
         }
-        /* NULL out all names[i] */
-        memset (names, 0, nfound * sizeof(*names));
 
         for (i = 0; i < nfound; i++) {