[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] xen/grant-table: Remove 'led' variable in map_grant_ref
commit e57b00f0b7e8a932fabd8524465972f9c4d2e507 Author: Julien Grall <jgrall@xxxxxxxxxx> AuthorDate: Tue Feb 25 18:36:33 2020 +0000 Commit: Julien Grall <julien@xxxxxxx> CommitDate: Thu Mar 5 12:59:46 2020 +0000 xen/grant-table: Remove 'led' variable in map_grant_ref The name of the variable 'led' is confusing and only used in one place a line after. So remove it. Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/common/grant_table.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 057c78f620..9fd6e60416 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -944,7 +944,6 @@ map_grant_ref( struct domain *ld, *rd, *owner = NULL; struct grant_table *lgt, *rgt; grant_ref_t ref; - struct vcpu *led; grant_handle_t handle; mfn_t mfn; struct page_info *pg = NULL; @@ -957,8 +956,7 @@ map_grant_ref( uint16_t *status; bool_t need_iommu; - led = current; - ld = led->domain; + ld = current->domain; if ( unlikely((op->flags & (GNTMAP_device_map|GNTMAP_host_map)) == 0) ) { -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |