[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 3/4] x86/mem_sharing: drop unused variable.
Coverity CID 1087198 Signed-off-by: Tim Deegan <tim@xxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx> --- xen/arch/x86/mm/mem_sharing.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/arch/x86/mm/mem_sharing.c b/xen/arch/x86/mm/mem_sharing.c index 4a5d9e8..7ed6594 100644 --- a/xen/arch/x86/mm/mem_sharing.c +++ b/xen/arch/x86/mm/mem_sharing.c @@ -846,7 +846,6 @@ int mem_sharing_nominate_page(struct domain *d, mfn_t mfn; struct page_info *page = NULL; /* gcc... */ int ret; - struct gfn_info *gfn_info; *phandle = 0UL; @@ -905,7 +904,7 @@ int mem_sharing_nominate_page(struct domain *d, page->sharing->handle = get_next_handle(); /* Create the local gfn info */ - if ( (gfn_info = mem_sharing_gfn_alloc(page, d, gfn)) == NULL ) + if ( mem_sharing_gfn_alloc(page, d, gfn) == NULL ) { xfree(page->sharing); page->sharing = NULL; -- 1.8.5.2 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |