summaryrefslogtreecommitdiff
path: root/init/noinitramfs.c
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 /init/noinitramfs.c
parent5766651971e81298732466c9aa462ff47898ba37 (diff)
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 'init/noinitramfs.c')
0 files changed, 0 insertions, 0 deletions