From: Alex Elder Date: Tue, 14 Feb 2012 20:05:33 +0000 (-0600) Subject: libceph: make ceph_tcp_connect() return int X-Git-Tag: v3.4-rc1~76^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41617d0c9c9832e030667277ddf6b4ffb4ecdc90;p=pandora-kernel.git libceph: make ceph_tcp_connect() return int There is no real need for ceph_tcp_connect() to return the socket pointer it creates, since it already assigns it to con->sock, which is visible to the caller. Instead, have it return an error code, which tidies things up a bit. Signed-off-by: Alex Elder Signed-off-by: Sage Weil --- Reading git-diff-tree failed