]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
xen/grant_table: Remove stale comment on top of map_grant_ref
authorJulien Grall <julien.grall@arm.com>
Thu, 1 Nov 2018 10:16:58 +0000 (10:16 +0000)
committerJulien Grall <julien.grall@arm.com>
Fri, 9 Nov 2018 11:50:55 +0000 (11:50 +0000)
Remove the 2 part comment on top of map_grant_ref:
    - The first part mention the return value which has been void since
    2006!
    - The second part mention a local variable 'addr' which does not
    exist anymore.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/grant_table.c

index 878e668bf5d135dbd34b890aeea63f2187212007..0b5894a07026cadb727c4203e063ab5f184bcb30 100644 (file)
@@ -890,13 +890,6 @@ static unsigned int mapkind(
     return kind;
 }
 
-/*
- * Returns 0 if TLB flush / invalidate required by caller.
- * va will indicate the address to be invalidated.
- *
- * addr is _either_ a host virtual address, or the address of the pte to
- * update, as indicated by the GNTMAP_contains_pte flag.
- */
 static void
 map_grant_ref(
     struct gnttab_map_grant_ref *op)