Remove unused duplicate grant code in umap

This commit is contained in:
Erik van der Kouwe
2011-06-09 05:06:34 +00:00
parent 1e5f9dfa14
commit b08dff6011
3 changed files with 0 additions and 44 deletions
-4
View File
@@ -350,10 +350,6 @@ vir_bytes bytes; /* # of bytes to be copied */
vir_bytes linear;
u32_t phys = 0;
if(seg == MEM_GRANT) {
return umap_grant(rp, (cp_grant_id_t) vir_addr, bytes);
}
if(!(linear = umap_local(rp, seg, vir_addr, bytes))) {
printf("SYSTEM:umap_virtual: umap_local failed\n");
phys = 0;