summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-01-23 15:49:27 -0600
committerAlex Elder <elder@dreamhost.com>2012-03-22 10:47:45 -0500
commita5bc3129a296fd4663c3ef0be5575e82453739dd (patch)
tree96024ed3b2cb7afef2fe860da26be030ec483e0b /net/xfrm
parent5766651971e81298732466c9aa462ff47898ba37 (diff)
downloadop-kernel-dev-a5bc3129a296fd4663c3ef0be5575e82453739dd.zip
op-kernel-dev-a5bc3129a296fd4663c3ef0be5575e82453739dd.tar.gz
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 <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud