Re: [PATCH] video: fbdev: nvidia: Remove extra return

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

 



On Wed, Jul 10, 2019 at 11:28 PM Souptick Joarder <jrdr.linux@xxxxxxxxx> wrote:
>
> Minor cleanup to remove extra return statement.
>

Any comment on this patch ?

> Signed-off-by: Souptick Joarder <jrdr.linux@xxxxxxxxx>
> ---
>  drivers/video/fbdev/nvidia/nv_backlight.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/video/fbdev/nvidia/nv_backlight.c b/drivers/video/fbdev/nvidia/nv_backlight.c
> index e705a78..2ce5352 100644
> --- a/drivers/video/fbdev/nvidia/nv_backlight.c
> +++ b/drivers/video/fbdev/nvidia/nv_backlight.c
> @@ -123,8 +123,6 @@ void nvidia_bl_init(struct nvidia_par *par)
>
>         printk("nvidia: Backlight initialized (%s)\n", name);
>
> -       return;
> -
>  error:
>         return;
>  }
> --
> 1.9.1
>
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux