p***@xen.org
2018-11-09 11:55:25 UTC
commit 5ef7a7f9be72018e35eba0f1c8b52048de540d28
Author: Julien Grall <***@arm.com>
AuthorDate: Thu Nov 1 10:16:58 2018 +0000
Commit: Julien Grall <***@arm.com>
CommitDate: Fri Nov 9 11:50:55 2018 +0000
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 <***@arm.com>
Reviewed-by: Andrew Cooper <***@citrix.com>
---
xen/common/grant_table.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c
index 878e668bf5..0b5894a070 100644
--- a/xen/common/grant_table.c
+++ b/xen/common/grant_table.c
@@ -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)
--
generated by git-patchbot for /home/xen/git/xen.git#staging
Author: Julien Grall <***@arm.com>
AuthorDate: Thu Nov 1 10:16:58 2018 +0000
Commit: Julien Grall <***@arm.com>
CommitDate: Fri Nov 9 11:50:55 2018 +0000
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 <***@arm.com>
Reviewed-by: Andrew Cooper <***@citrix.com>
---
xen/common/grant_table.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c
index 878e668bf5..0b5894a070 100644
--- a/xen/common/grant_table.c
+++ b/xen/common/grant_table.c
@@ -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)
--
generated by git-patchbot for /home/xen/git/xen.git#staging