summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2012-07-26 16:12:59 +0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-09 17:05:45 +0400
commitb666dbf819f9157a4afef2094ec961d216d802b5 (patch)
tree8adfc3059d6fc0d2e2e223244c6945e68c200c07 /tools/perf/scripts/python/sched-migration.py
parent3174f8c5045ad247563434c4b4897bd89313eafc (diff)
downloadlinux-b666dbf819f9157a4afef2094ec961d216d802b5.tar.xz
drbd: Remove redundant and wrong test for NULL simplification in conn_connect()
Since the drbd_socket_okay() function itself tests if the the socket is NULL, the explicit test "if (sock.socket && &msock.socket)" was redundent. Apart from that the address opperator ('&') before msock.socket rendered the test pointless. 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