tools headers UAPI: Sync linux/prctl.h with the kernel sources
[linux-2.6-microblaze.git] / fs / dlm / rcom.c
index 73ddee5..f5b1bd6 100644 (file)
@@ -41,7 +41,6 @@ static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len,
                          to_nodeid, type, len);
                return -ENOBUFS;
        }
-       memset(mb, 0, mb_len);
 
        rc = (struct dlm_rcom *) mb;
 
@@ -462,7 +461,6 @@ int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in)
        mh = dlm_lowcomms_get_buffer(nodeid, mb_len, GFP_NOFS, &mb);
        if (!mh)
                return -ENOBUFS;
-       memset(mb, 0, mb_len);
 
        rc = (struct dlm_rcom *) mb;