Added a missing return statement in paired_grant().

Removed lots of unused variables.
This commit is contained in:
Kees van Reeuwijk
2010-01-15 21:45:30 +00:00
parent 716df202de
commit 4faed703d9
13 changed files with 23 additions and 59 deletions

View File

@@ -850,7 +850,6 @@ static int paired_grant(char *buf1, char *buf2, int request,
{
/* Create memory grants, either to one or to both drivers.
*/
cp_grant_id_t gid;
int count, access;
count = 0;
@@ -869,6 +868,7 @@ static int paired_grant(char *buf1, char *buf2, int request,
vectors[1], &sizes[1]);
}
}
return count;
}
/*===========================================================================*