Skip to contentSkip to conversation

video: fbdev: nvidia: Remove extra return

PATCH In review Souptick Joarder 2 participants 3 messages Jul 10, 2019 – Jul 23, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video: fbdev: nvidia: Remove extra return

Minor cleanup to remove extra return statement.

---
 drivers/video/fbdev/nvidia/nv_backlight.c | 2 --
 1 file changed, 2 deletions(-)
drivers/video/fbdev/nvidia/nv_backlight.c +0 -2
index e705a78..2ce5352 100644
@@ -123,8 +123,6 @@ void nvidia_bl_init(struct nvidia_par *par)
 
 	printk("nvidia: Backlight initialized (%s)\n", name);
 
-	return;
-
 error:
 	return;
 }
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Souptick Joarder

Minor cleanup to remove extra return statement.

Any comment on this patch ?

Quoted 21 lines
---
 drivers/video/fbdev/nvidia/nv_backlight.c | 2 --
 1 file changed, 2 deletions(-)
drivers/video/fbdev/nvidia/nv_backlight.c +0 -3
index e705a78..2ce5352 100644
@@ -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

#2 lore raw
Quoted 8 lines · Souptick Joarder
Quoted 3 lines · Souptick Joarder

Minor cleanup to remove extra return statement.

Any comment on this patch ?

Quoted 1 line

Patch queued for v5.4, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics