Skip to content

Commit 49b9441

Browse files
Clayton Casciatorafaeljw
authored andcommitted
ACPI: video: Drop three redundant return statements
Signed-off-by: Clayton Casciato <[email protected]> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 009c9aa commit 49b9441

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/acpi/acpi_video.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,8 +1619,6 @@ static void acpi_video_bus_notify(struct acpi_device *device, u32 event)
16191619
input_report_key(input, keycode, 0);
16201620
input_sync(input);
16211621
}
1622-
1623-
return;
16241622
}
16251623

16261624
static void brightness_switch_event(struct acpi_video_device *video_device,
@@ -1690,8 +1688,6 @@ static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data)
16901688
input_report_key(input, keycode, 0);
16911689
input_sync(input);
16921690
}
1693-
1694-
return;
16951691
}
16961692

16971693
static int acpi_video_resume(struct notifier_block *nb,
@@ -2308,8 +2304,6 @@ static void __exit acpi_video_exit(void)
23082304
{
23092305
acpi_video_detect_exit();
23102306
acpi_video_unregister();
2311-
2312-
return;
23132307
}
23142308

23152309
module_init(acpi_video_init);

0 commit comments

Comments
 (0)