platform/x86:delete two unused variables
Subsystems (2)
PATCH 1/1 platform/x86:delete two unused variables
variable handle is not used in these two functions, just delete them.
Signed-off-by Weiping Pan <[email protected]>
--- drivers/platform/x86/sony-laptop.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/platform/x86/sony-laptop.c +0 -2
@@ -961,7 +961,6 @@ static int sony_backlight_get_brightness(struct backlight_device *bd)static int sony_nc_get_brightness_ng (struct backlight_device *bd) {int result; -int *handle = (int *)bl_get_data (bd);struct sony_backlight_props *sdev = (struct sony_backlight_props *)bl_get_data (bd);
@@ -973,7 +972,6 @@ static int sony_nc_get_brightness_ng(struct backlight_device *bd)static int sony_nc_update_status_ng (struct backlight_device *bd) {int value, result; -int *handle = (int *)bl_get_data (bd);struct sony_backlight_props *sdev = (struct sony_backlight_props *)bl_get_data (bd);
Signature · 1 line
1.7.4.4