summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/nvidia
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2019-07-10 23:33:15 +0530
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-07-23 17:16:27 +0200
commitb519294ee13aee030d6defd009998c84060ab205 (patch)
tree182fd0a80c3dd981d39badbc5f0d2bd4ca0c18db /drivers/video/fbdev/nvidia
parent5ae01cba59c63e042080ebccf2bd3406288beaa6 (diff)
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/video/fbdev/nvidia')
-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;
}