From: Corentin Chary Date: Mon, 29 Nov 2010 07:14:12 +0000 (+0100) Subject: eeepc-wmi: remove unneeded static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dfed65d56f9a94466bb4afd44ec8e900a6709cda;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git eeepc-wmi: remove unneeded static Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 5f3f42c8a989..52274e21ee89 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -267,7 +267,7 @@ static void tpd_led_set(struct led_classdev *led_cdev, static int read_tpd_state(struct eeepc_wmi *eeepc) { - static u32 retval; + u32 retval; acpi_status status; status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_TPDLED, &retval); @@ -458,7 +458,7 @@ exit: */ static int read_brightness(struct backlight_device *bd) { - static u32 retval; + u32 retval; acpi_status status; status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_BACKLIGHT, &retval); @@ -472,7 +472,7 @@ static int read_brightness(struct backlight_device *bd) static int update_bl_status(struct backlight_device *bd) { - static u32 ctrl_param; + u32 ctrl_param; acpi_status status; ctrl_param = bd->props.brightness;