[PATCH v2 6/7] Mute some compiler warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux