diff options
author | Weiping Pan <panweiping3@gmail.com> | 2011-05-16 14:49:47 +0800 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-05-27 12:38:25 -0400 |
commit | 5ddf9c5fa5a78036790ed72aaed3b84ee7dd4532 (patch) | |
tree | 5a255c5a7f7979a834096fa031d0d9dd0391976f | |
parent | 8ae68de15d5ddaa8d41e197a730e19223adab2e1 (diff) | |
download | blackbird-op-linux-5ddf9c5fa5a78036790ed72aaed3b84ee7dd4532.tar.gz blackbird-op-linux-5ddf9c5fa5a78036790ed72aaed3b84ee7dd4532.zip |
platform/x86:delete two unused variables
variable handle is not used in these two functions,
just delete them.
Signed-off-by: Weiping Pan <panweiping3@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
-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) 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); @@ -974,7 +973,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); |