提交 5ddf9c5f 编写于 作者: W Weiping Pan 提交者: Matthew Garrett

platform/x86:delete two unused variables

variable handle is not used in these two functions,
just delete them.
Signed-off-by: NWeiping Pan <panweiping3@gmail.com>
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
上级 8ae68de1
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册