summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-09-04 23:46:02 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-09-05 10:55:03 +0300
commit042fa8c7c04dd43b21be3ec5104681574a4f8f8c (patch)
tree88dd1355b876aad11368a9d0fc1ea1c7d84db33a /tools/perf/scripts/python/sched-migration.py
parentae930c912b3274d79319179c1f5ddd9423dd0a7d (diff)
downloadlinux-042fa8c7c04dd43b21be3ec5104681574a4f8f8c.tar.xz
rtc: ds1307: remove regs member
ds1307->regs is never used before being read or initialized locally. There is no point in keeping a copy in memory. Also limit the size of the read buffer to what is really used, rename buf to regs for consistency and use sizeof() where possible. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions