diff options
Diffstat (limited to 'drivers/platform/x86/sony-laptop.c')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 12dd0a62f305..bbd182e178cb 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -962,7 +962,6 @@ static int sony_backlight_get_brightness(struct backlight_device *bd) | |||
962 | static int sony_nc_get_brightness_ng(struct backlight_device *bd) | 962 | static int sony_nc_get_brightness_ng(struct backlight_device *bd) |
963 | { | 963 | { |
964 | int result; | 964 | int result; |
965 | int *handle = (int *)bl_get_data(bd); | ||
966 | struct sony_backlight_props *sdev = | 965 | struct sony_backlight_props *sdev = |
967 | (struct sony_backlight_props *)bl_get_data(bd); | 966 | (struct sony_backlight_props *)bl_get_data(bd); |
968 | 967 | ||
@@ -974,7 +973,6 @@ static int sony_nc_get_brightness_ng(struct backlight_device *bd) | |||
974 | static int sony_nc_update_status_ng(struct backlight_device *bd) | 973 | static int sony_nc_update_status_ng(struct backlight_device *bd) |
975 | { | 974 | { |
976 | int value, result; | 975 | int value, result; |
977 | int *handle = (int *)bl_get_data(bd); | ||
978 | struct sony_backlight_props *sdev = | 976 | struct sony_backlight_props *sdev = |
979 | (struct sony_backlight_props *)bl_get_data(bd); | 977 | (struct sony_backlight_props *)bl_get_data(bd); |
980 | 978 | ||