Commit dfed65d5 authored by Corentin Chary's avatar Corentin Chary Committed by Matthew Garrett

eeepc-wmi: remove unneeded static

Signed-off-by: default avatarCorentin Chary <corentincj@iksaif.net>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 4c4edfa3
...@@ -267,7 +267,7 @@ static void tpd_led_set(struct led_classdev *led_cdev, ...@@ -267,7 +267,7 @@ static void tpd_led_set(struct led_classdev *led_cdev,
static int read_tpd_state(struct eeepc_wmi *eeepc) static int read_tpd_state(struct eeepc_wmi *eeepc)
{ {
static u32 retval; u32 retval;
acpi_status status; acpi_status status;
status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_TPDLED, &retval); status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_TPDLED, &retval);
...@@ -458,7 +458,7 @@ static int eeepc_wmi_rfkill_init(struct eeepc_wmi *eeepc) ...@@ -458,7 +458,7 @@ static int eeepc_wmi_rfkill_init(struct eeepc_wmi *eeepc)
*/ */
static int read_brightness(struct backlight_device *bd) static int read_brightness(struct backlight_device *bd)
{ {
static u32 retval; u32 retval;
acpi_status status; acpi_status status;
status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_BACKLIGHT, &retval); status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_BACKLIGHT, &retval);
...@@ -472,7 +472,7 @@ static int read_brightness(struct backlight_device *bd) ...@@ -472,7 +472,7 @@ static int read_brightness(struct backlight_device *bd)
static int update_bl_status(struct backlight_device *bd) static int update_bl_status(struct backlight_device *bd)
{ {
static u32 ctrl_param; u32 ctrl_param;
acpi_status status; acpi_status status;
ctrl_param = bd->props.brightness; ctrl_param = bd->props.brightness;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment