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:
5b58157
)
hwmon: Avoid initializing the same field twice
author
Jean Delvare
<jdelvare@suse.de>
Fri, 4 Apr 2014 16:01:34 +0000
(18:01 +0200)
committer
Jean Delvare
<jdelvare@suse.de>
Fri, 4 Apr 2014 16:01:34 +0000
(18:01 +0200)
All hwmon drivers allocate their data structure with some form of
kzalloc, so setting data fields to zero explicitly is a waste of time.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
No differences found