summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2019-07-10 20:03:15 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-07-23 17:16:27 +0200
commitb519294ee13aee030d6defd009998c84060ab205 (patch)
tree182fd0a80c3dd981d39badbc5f0d2bd4ca0c18db /drivers
parentau1200fb: don't use DMA_ATTR_NON_CONSISTENT (diff)
downloadlinux-b519294ee13aee030d6defd009998c84060ab205.tar.xz
linux-b519294ee13aee030d6defd009998c84060ab205.zip
video: fbdev: nvidia: Remove extra return
Minor cleanup to remove extra return statement. Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Cc: Antonino Daplas <adaplas@gmail.com> Cc: Sabyasachi Gupta <sabyasachi.linux@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/1562781795-3494-1-git-send-email-jrdr.linux@gmail.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/fbdev/nvidia/nv_backlight.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/fbdev/nvidia/nv_backlight.c b/drivers/video/fbdev/nvidia/nv_backlight.c
index e705a7872301..2ce53529f636 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;
}