aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2014-04-04 18:01:34 +0200
committerJean Delvare <[email protected]>2014-04-04 18:01:34 +0200
commit5b58157598f93089ccda90aabd98f27865b344da (patch)
tree2b933cd00cefacb4a45b6a64decd7b381ab4b54c /tools/perf/scripts/python/compaction-times.py
parent118c9a61f158c8f2e3694ed2a3681c217328a2c1 (diff)
hwmon: (pc87360) Avoid initializing the same field twice
data is kzalloc'd, so data->valid, data->innr and data->tempnr are already 0. Also rework the initialization path to only set name and data->fannr once. Signed-off-by: Jean Delvare <[email protected]> Reviewed-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions