From: Philipp Reisner Date: Thu, 26 Jul 2012 12:12:59 +0000 (+0200) Subject: drbd: Remove redundant and wrong test for NULL simplification in conn_connect() X-Git-Tag: v3.8-rc1~78^2~18^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b666dbf819f9157a4afef2094ec961d216d802b5;p=pandora-kernel.git 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 Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed