projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bceff94
)
pwm-backlight: Remove unused variable
author
黄涛
<huangtao@rock-chips.com>
Tue, 25 Feb 2014 09:08:52 +0000
(17:08 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Tue, 25 Feb 2014 09:08:52 +0000
(17:08 +0800)
I forgot to remove this during earlier cleanup patches and only checked
various builds for errors, not warnings.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/video/backlight/pwm_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/pwm_bl.c
b/drivers/video/backlight/pwm_bl.c
index 3969bab1c32bc43a966fb07d7aa17b88ff13f466..40b130fe1c6e0db0768df95c26d2e6e6bdf0cb17 100644
(file)
--- a/
drivers/video/backlight/pwm_bl.c
+++ b/
drivers/video/backlight/pwm_bl.c
@@
-43,8
+43,6
@@
struct pwm_bl_data {
static void pwm_backlight_power_on(struct pwm_bl_data *pb, int brightness)
{
- int duty_cycle, err;
-
if (pb->enabled)
return;