summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2016-11-10 17:03:01 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-13 20:04:50 +0300
commitb5718b5aeff1930ab06efe5683b54f1a3b2795fb (patch)
tree658f90dfe2de003236687f0bf3ee455e2267063f /tools/perf/scripts/python
parent849dcce3fee7f2a68b2c82141e2f3b919bce3c79 (diff)
downloadlinux-b5718b5aeff1930ab06efe5683b54f1a3b2795fb.tar.xz
net: phy: marvell: optimize logic for page changing during init
Instead of remembering if the page was changed, just compare the current page to the saved one. This is easier and has the advantage to save a register write if the page was already restored. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions