Re: [patch] fbdev: pm3fb: cleanup some confusing indenting

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

 



On 25/02/15 15:25, Dan Carpenter wrote:
> This if statement should be pushed out one tab to line up with the rest.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> 
> diff --git a/drivers/video/fbdev/pm3fb.c b/drivers/video/fbdev/pm3fb.c
> index 4bf3273..77b99ed 100644
> --- a/drivers/video/fbdev/pm3fb.c
> +++ b/drivers/video/fbdev/pm3fb.c
> @@ -1479,9 +1479,9 @@ static void pm3fb_remove(struct pci_dev *dev)
>  		fb_dealloc_cmap(&info->cmap);
>  
>  #ifdef CONFIG_MTRR
> -	if (par->mtrr_handle >= 0)
> -		mtrr_del(par->mtrr_handle, info->fix.smem_start,
> -			 info->fix.smem_len);
> +		if (par->mtrr_handle >= 0)
> +			mtrr_del(par->mtrr_handle, info->fix.smem_start,
> +				 info->fix.smem_len);
>  #endif /* CONFIG_MTRR */
>  		iounmap(info->screen_base);
>  		release_mem_region(fix->smem_start, fix->smem_len);

Thanks, queued for 4.1.

 Tomi


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux