git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95df812
)
ACPI / dock: Drop redundant acpi_disabled check
author
Hanjun Guo
<hanjun.guo@linaro.org>
Thu, 5 Dec 2013 16:03:40 +0000
(
00:03
+0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sat, 7 Dec 2013 00:36:32 +0000
(
01:36
+0100)
acpi_dock_init() is only called from acpi_scan_init() and the
code logic shows that it doesn't need to check acpi_disabled:
acpi_init();
if (acpi_disabled) return;
acpi_scan_init();
acpi_dock_init();
if (acpi_disabled) /* redundant */
return;
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dock.c
patch
|
blob
|
history
diff --cc
drivers/acpi/dock.c
Simple merge