Skip to content

Commit

Permalink
platform/x86: fujitsu-laptop: remove redundant forward declarations
Browse files Browse the repository at this point in the history
Both acpi_fujitsu_bl_notify() and acpi_fujitsu_laptop_notify() are
defined before they are first used, so remove their forward declarations
as they are redundant.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
[kempniu: rebase patch, rewrite commit message]
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
  • Loading branch information
Alan Jenkins authored and Andy Shevchenko committed Feb 26, 2017
1 parent d3dd448 commit 8c590e3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/platform/x86/fujitsu-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ struct fujitsu_laptop {

static struct fujitsu_laptop *fujitsu_laptop;

static void acpi_fujitsu_laptop_notify(struct acpi_device *device, u32 event);

#if IS_ENABLED(CONFIG_LEDS_CLASS)
static enum led_brightness logolamp_get(struct led_classdev *cdev);
static int logolamp_set(struct led_classdev *cdev,
Expand Down Expand Up @@ -227,8 +225,6 @@ static struct led_classdev eco_led = {
static u32 dbg_level = 0x03;
#endif

static void acpi_fujitsu_bl_notify(struct acpi_device *device, u32 event);

/* Fujitsu ACPI interface function */

static int call_fext_func(int cmd, int arg0, int arg1, int arg2)
Expand Down

0 comments on commit 8c590e3

Please sign in to comment.