lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 02 Jun 2011 21:46:00 -0500
From:	Greg Dietsche <gregory.dietsche@....edu>
To:	Greg Dietsche <Gregory.Dietsche@....edu>
CC:	malattia@...ux.it, mjg@...hat.com, kernel-janitors@...r.kernel.org,
	platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sony-laptop: remove unused local variables

please disregard... i neglected to rebase before sending. this patch no 
longer applies to the mainline.

Greg

On 06/02/2011 09:27 PM, Greg Dietsche wrote:
> Removed two unused instances of "handle" local variable.
>
> Signed-off-by: Greg Dietsche<Gregory.Dietsche@....edu>
> ---
>   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 6fe8cd6..9a2c319 100644
> --- a/drivers/platform/x86/sony-laptop.c
> +++ b/drivers/platform/x86/sony-laptop.c
> @@ -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);
>
>    
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ