Skip to content

Commit

Permalink
ACPI: video: Drop three redundant return statements
Browse files Browse the repository at this point in the history
Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Clayton Casciato authored and Rafael J. Wysocki committed Jun 14, 2021
1 parent 009c9aa commit 49b9441
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/acpi/acpi_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1619,8 +1619,6 @@ static void acpi_video_bus_notify(struct acpi_device *device, u32 event)
input_report_key(input, keycode, 0);
input_sync(input);
}

return;
}

static void brightness_switch_event(struct acpi_video_device *video_device,
Expand Down Expand Up @@ -1690,8 +1688,6 @@ static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data)
input_report_key(input, keycode, 0);
input_sync(input);
}

return;
}

static int acpi_video_resume(struct notifier_block *nb,
Expand Down Expand Up @@ -2308,8 +2304,6 @@ static void __exit acpi_video_exit(void)
{
acpi_video_detect_exit();
acpi_video_unregister();

return;
}

module_init(acpi_video_init);
Expand Down

0 comments on commit 49b9441

Please sign in to comment.