From: Alex Elder Date: Mon, 23 Jan 2012 21:49:27 +0000 (-0600) Subject: ceph: make use of "else" where appropriate X-Git-Tag: v3.4-rc1~76^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5bc3129a296fd4663c3ef0be5575e82453739dd;p=pandora-kernel.git ceph: make use of "else" where appropriate Rearrange ceph_tcp_connect() a bit, making use of "else" rather than re-testing a value with consecutive "if" statements. Don't record a connection's socket pointer unless the connect operation is successful. Signed-off-by: Alex Elder Signed-off-by: Sage Weil --- Reading git-diff-tree failed