Miscellaneous code cleanup.

This commit is contained in:
Kees van Reeuwijk
2010-03-22 20:43:06 +00:00
parent 4b2310a7ee
commit c33102ea6b
20 changed files with 38 additions and 44 deletions

View File

@@ -287,7 +287,6 @@ PUBLIC int do_semctl(message *m)
unsigned short *buf;
struct semid_ds *ds, tmp_ds;
struct sem_struct *sem;
struct semaphore *semaphore;
id = m->SEMCTL_ID;
num = m->SEMCTL_NUM;

View File

@@ -184,10 +184,9 @@ PUBLIC void update_refcount_and_destroy(void)
*===========================================================================*/
PUBLIC int do_shmdt(message *m)
{
struct shm_struct *shm;
vir_bytes addr;
phys_bytes paddr;
int n, i;
int i;
addr = m->SHMDT_ADDR;