diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2013-11-22 12:40:58 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-07-10 15:22:22 +0200 |
commit | 44a4d551846b8c61aa430b9432c1fcdf88444708 (patch) | |
tree | 8188189bed59234fdf943702ebb55c9c17106215 /tools/perf/scripts/python/sched-migration.py | |
parent | 35b5ed5bbac2432acdfce1d9dec8dbf8fe7d60dd (diff) |
drbd: refactor use of first_peer_device()
Reduce the number of calls to first_peer_device(). Instead, call
first_peer_device() just once to assign a local variable peer_device.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions