[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 6/7] Mute some compiler warnings
(2013/07/16 21:32), Daniel Kiper wrote: <cut> diff --git a/sadump_info.c b/sadump_info.c index be6cf55..01cf5eb 100644 --- a/sadump_info.c +++ b/sadump_info.c @@ -948,7 +948,6 @@ int readpage_sadump(unsigned long long paddr, void *bufptr) { unsigned long long pfn, block, whole_offset, perdisk_offset; - ulong page_offset; int fd_memory; if (si->kdump_backed_up && @@ -957,7 +956,6 @@ readpage_sadump(unsigned long long paddr, void *bufptr) paddr += si->backup_offset - si->backup_src_start; pfn = paddr_to_pfn(paddr); - page_offset = paddr % info->page_size; if (pfn >= si->sh_memory->max_mapnr) return FALSE; It seems good to me. Thanks. -- Thanks. HATAYAMA, Daisuke _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |