Skip to content

Commit

Permalink
ARM: SAMSUNG: Remove unused variable 'running' on PWM
Browse files Browse the repository at this point in the history
This variable is indeed no longer in use.

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Jonghwan Choi authored and Kukjin Kim committed Jun 21, 2012
1 parent 4f6939f commit 8f748e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/arm/plat-samsung/pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down Expand Up @@ -116,7 +115,6 @@ int pwm_enable(struct pwm_device *pwm)

local_irq_restore(flags);

pwm->running = 1;
return 0;
}

Expand All @@ -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);
Expand Down

0 comments on commit 8f748e2

Please sign in to comment.