Remove some unused #include.

Remove some unused variables and computations on them.
This commit is contained in:
Kees van Reeuwijk
2010-02-17 20:24:42 +00:00
parent 1e9a3c1423
commit 97c169b93a
6 changed files with 17 additions and 31 deletions

View File

@@ -33,7 +33,6 @@
#include <minix/endpoint.h>
#include <stddef.h>
#include <signal.h>
#include <minix/portio.h>
#include <minix/syslib.h>
#include "debug.h"
@@ -1050,7 +1049,7 @@ struct proc *caller_ptr;
*===========================================================================*/
PRIVATE int try_one(struct proc *src_ptr, struct proc *dst_ptr, int *postponed)
{
int i, do_notify, done;
int i, done;
unsigned flags;
size_t size;
endpoint_t dst_e;
@@ -1074,7 +1073,6 @@ PRIVATE int try_one(struct proc *src_ptr, struct proc *dst_ptr, int *postponed)
dst_e= dst_ptr->p_endpoint;
/* Scan the table */
do_notify= FALSE;
done= TRUE;
for (i= 0; i<size; i++)
{