All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Heiko Stübner" <heiko@sntech.de>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH] iio: adc: rockchip_saradc: remove unused variable in probe
Date: Sat, 30 Aug 2014 10:45:38 +0100	[thread overview]
Message-ID: <54019D42.205@kernel.org> (raw)
In-Reply-To: <2134722.Yfu4MZ4klm@diego>

On 26/08/14 23:40, Heiko Stübner wrote:
> The rate variable in the probe function of the saradc is a remnant
> of a previous patch iteration. It is unused and thus produces a
> compile time warning. Therefore remove it.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Applied to the togreg branch of iio.git - initially pushed out as testing
for the autobuilders to play.

Thanks,

Jonathan
> ---
>  drivers/iio/adc/rockchip_saradc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
> index 1fad964..e074a0b 100644
> --- a/drivers/iio/adc/rockchip_saradc.c
> +++ b/drivers/iio/adc/rockchip_saradc.c
> @@ -141,7 +141,6 @@ static int rockchip_saradc_probe(struct platform_device *pdev)
>  	struct resource	*mem;
>  	int ret;
>  	int irq;
> -	u32 rate;
>  
>  	if (!np)
>  		return -ENODEV;
> 

WARNING: multiple messages have this Message-ID (diff)
From: jic23@kernel.org (Jonathan Cameron)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] iio: adc: rockchip_saradc: remove unused variable in probe
Date: Sat, 30 Aug 2014 10:45:38 +0100	[thread overview]
Message-ID: <54019D42.205@kernel.org> (raw)
In-Reply-To: <2134722.Yfu4MZ4klm@diego>

On 26/08/14 23:40, Heiko St?bner wrote:
> The rate variable in the probe function of the saradc is a remnant
> of a previous patch iteration. It is unused and thus produces a
> compile time warning. Therefore remove it.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Applied to the togreg branch of iio.git - initially pushed out as testing
for the autobuilders to play.

Thanks,

Jonathan
> ---
>  drivers/iio/adc/rockchip_saradc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
> index 1fad964..e074a0b 100644
> --- a/drivers/iio/adc/rockchip_saradc.c
> +++ b/drivers/iio/adc/rockchip_saradc.c
> @@ -141,7 +141,6 @@ static int rockchip_saradc_probe(struct platform_device *pdev)
>  	struct resource	*mem;
>  	int ret;
>  	int irq;
> -	u32 rate;
>  
>  	if (!np)
>  		return -ENODEV;
> 

  reply	other threads:[~2014-08-30  9:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-26 22:40 [PATCH] iio: adc: rockchip_saradc: remove unused variable in probe Heiko Stübner
2014-08-26 22:40 ` Heiko Stübner
2014-08-30  9:45 ` Jonathan Cameron [this message]
2014-08-30  9:45   ` Jonathan Cameron

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=54019D42.205@kernel.org \
    --to=jic23@kernel.org \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.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.