aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2016-11-10 15:03:01 +0100
committerDavid S. Miller <[email protected]>2016-11-13 12:04:50 -0500
commitb5718b5aeff1930ab06efe5683b54f1a3b2795fb (patch)
tree658f90dfe2de003236687f0bf3ee455e2267063f /scripts/gcc-plugins/cyc_complexity_plugin.c
parent849dcce3fee7f2a68b2c82141e2f3b919bce3c79 (diff)
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 <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions