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>
This commit is contained in:
committed by
Matthew Garrett
parent
8ae68de15d
commit
5ddf9c5fa5
@@ -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)
|
static int sony_nc_get_brightness_ng(struct backlight_device *bd)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
int *handle = (int *)bl_get_data(bd);
|
|
||||||
struct sony_backlight_props *sdev =
|
struct sony_backlight_props *sdev =
|
||||||
(struct sony_backlight_props *)bl_get_data(bd);
|
(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)
|
static int sony_nc_update_status_ng(struct backlight_device *bd)
|
||||||
{
|
{
|
||||||
int value, result;
|
int value, result;
|
||||||
int *handle = (int *)bl_get_data(bd);
|
|
||||||
struct sony_backlight_props *sdev =
|
struct sony_backlight_props *sdev =
|
||||||
(struct sony_backlight_props *)bl_get_data(bd);
|
(struct sony_backlight_props *)bl_get_data(bd);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user