xen/grant_table: Remove stale comment on top of map_grant_ref

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>
This commit is contained in:
Julien Grall committed 2018-11-09 11:50:55 +00:00
1 parent 8d84e701fd
commit 5ef7a7f9be
1 file changed
-7
-7
View 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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.