commit | 44a4d551846b8c61aa430b9432c1fcdf88444708 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Fri Nov 22 12:40:58 2013 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Jul 10 15:22:22 2014 +0200 |
tree | 8188189bed59234fdf943702ebb55c9c17106215 | |
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>