Get rid of unneeded bzero().

This commit is contained in:
mycroft 1994-06-03 21:06:53 +00:00
parent ebf0357409
commit 919b9c0f72

View File

@ -224,7 +224,6 @@ shmat(p, uap, retval)
if (shmmap_s == NULL) {
size = shminfo.shmseg * sizeof(struct shmmap_state);
shmmap_s = malloc(size, M_SHM, M_WAITOK);
bzero((caddr_t)shmmap_s, size);
for (i = 0; i < shminfo.shmseg; i++)
shmmap_s[i].shmid = -1;
p->p_vmspace->vm_shm = (caddr_t)shmmap_s;