Removed unused variables and cleaned whitespaces.

Change-Id: Ie5c1ad84ad162ab18443dd228686aba544ecb9ef
This commit is contained in:
Ben Mezger 2017-03-16 12:51:03 -03:00 committed by David van Moolenbroek
parent 81ae2bc455
commit 9f7f0ad073

View File

@ -285,12 +285,8 @@ static int safecopy(
static struct vir_addr v_src, v_dst; static struct vir_addr v_src, v_dst;
static vir_bytes v_offset; static vir_bytes v_offset;
endpoint_t new_granter, *src, *dst; endpoint_t new_granter, *src, *dst;
struct proc *granter_p;
int r; int r;
struct cp_sfinfo sfinfo; struct cp_sfinfo sfinfo;
#if PERF_USE_COW_SAFECOPY
vir_bytes size;
#endif
if(granter == NONE || grantee == NONE) { if(granter == NONE || grantee == NONE) {
printf("safecopy: nonsense processes\n"); printf("safecopy: nonsense processes\n");