RE: [PATCH] ARM: SAMSUNG: Remove unusued variable 'running'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jhbird.choi@xxxxxxxxx wrote:
> 
> From: Jonghwan Choi <jhbird.choi@xxxxxxxxxxx>
> 
> This variable is indeed no longer in use.
> 
> Signed-off-by: Jonghwan Choi <jhbird.choi@xxxxxxxxxxx>
> ---
>  arch/arm/plat-samsung/pwm.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/plat-samsung/pwm.c b/arch/arm/plat-samsung/pwm.c
> index c559d84..d358305 100644
> --- a/arch/arm/plat-samsung/pwm.c
> +++ b/arch/arm/plat-samsung/pwm.c
> @@ -36,7 +36,6 @@ struct pwm_device {
>  	unsigned int		 duty_ns;
> 
>  	unsigned char		 tcon_base;
> -	unsigned char		 running;
>  	unsigned char		 use_count;
>  	unsigned char		 pwm_id;
>  };
> @@ -116,7 +115,6 @@ int pwm_enable(struct pwm_device *pwm)
> 
>  	local_irq_restore(flags);
> 
> -	pwm->running = 1;
>  	return 0;
>  }
> 
> @@ -134,8 +132,6 @@ void pwm_disable(struct pwm_device *pwm)
>  	__raw_writel(tcon, S3C2410_TCON);
> 
>  	local_irq_restore(flags);
> -
> -	pwm->running = 0;
>  }
> 
>  EXPORT_SYMBOL(pwm_disable);
> --
> 1.7.0.4

Applied, thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux