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:
f09ce74
)
ACPI / dock: Drop unnecessary local variable from dock_add()
author
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Fri, 5 Jul 2013 01:23:36 +0000
(
03:23
+0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sun, 14 Jul 2013 23:33:12 +0000
(
01:33
+0200)
The local variable id in dock_add() is not necessary, so drop it.
While we're at it, use an initializer to clear the local variable ds
and drop the memset() used for this purpose.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
No differences found