All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Dietsche <gregory.dietsche@cuw.edu>
To: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Cc: malattia@linux.it, mjg@redhat.com,
	kernel-janitors@vger.kernel.org,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sony-laptop: remove unused local variables
Date: Fri, 03 Jun 2011 02:46:00 +0000	[thread overview]
Message-ID: <4DE84AE8.60109@cuw.edu> (raw)
In-Reply-To: <1307068040-2918-1-git-send-email-Gregory.Dietsche@cuw.edu>

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@cuw.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);
>
>    

WARNING: multiple messages have this Message-ID (diff)
From: Greg Dietsche <gregory.dietsche@cuw.edu>
To: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Cc: malattia@linux.it, mjg@redhat.com,
	kernel-janitors@vger.kernel.org,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sony-laptop: remove unused local variables
Date: Thu, 02 Jun 2011 21:46:00 -0500	[thread overview]
Message-ID: <4DE84AE8.60109@cuw.edu> (raw)
In-Reply-To: <1307068040-2918-1-git-send-email-Gregory.Dietsche@cuw.edu>

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@cuw.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);
>
>    

  reply	other threads:[~2011-06-03  2:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03  2:27 [PATCH] sony-laptop: remove unused local variables Greg Dietsche
2011-06-03  2:27 ` Greg Dietsche
2011-06-03  2:46 ` Greg Dietsche [this message]
2011-06-03  2:46   ` Greg Dietsche
2011-06-04  5:54   ` Mattia Dongili
2011-06-04  5:54     ` Mattia Dongili

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DE84AE8.60109@cuw.edu \
    --to=gregory.dietsche@cuw.edu \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malattia@linux.it \
    --cc=mjg@redhat.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.