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:
1dea1fd
)
pwm-backlight: Remove unused variable
author
Thierry Reding
<thierry.reding@gmail.com>
Tue, 22 Oct 2013 07:37:05 +0000
(09:37 +0200)
committer
Thierry Reding
<thierry.reding@gmail.com>
Tue, 22 Oct 2013 07:37:05 +0000
(09:37 +0200)
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 299533491a95f8bd4bdbe6702ff33bc5ad090783..368232af78d29fb714fa6462ed354c8a947c9846 100644
(file)
--- a/
drivers/video/backlight/pwm_bl.c
+++ b/
drivers/video/backlight/pwm_bl.c
@@
-45,7
+45,7
@@
struct pwm_bl_data {
static void pwm_backlight_power_on(struct pwm_bl_data *pb, int brightness)
{
- int
duty_cycle,
err;
+ int err;
if (pb->enabled)
return;