aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-05-22 12:41:43 -0400
committerAlex Elder <elder@dreamhost.com>2012-06-01 09:37:55 -0400
commite5e372da9a469dfe3ece40277090a7056c566838 (patch)
tree8124bc58f5d841aa6572b5e3c01f7a62646fcf4c /net/ceph
parent28c0254ede13ab575d2df5c6585ed3d4817c3e6b (diff)
libceph: eliminate connection state "DEAD"
The ceph connection state "DEAD" is never set and is therefore not needed. Eliminate it. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/messenger.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c
index 1a80907282cc..42ca8aab6dcf 100644
--- a/net/ceph/messenger.c
+++ b/net/ceph/messenger.c
@@ -2087,12 +2087,6 @@ bad_tag:
2087 */ 2087 */
2088static void queue_con(struct ceph_connection *con) 2088static void queue_con(struct ceph_connection *con)
2089{ 2089{
2090 if (test_bit(DEAD, &con->state)) {
2091 dout("queue_con %p ignoring: DEAD\n",
2092 con);
2093 return;
2094 }
2095
2096 if (!con->ops->get(con)) { 2090 if (!con->ops->get(con)) {
2097 dout("queue_con %p ref count 0\n", con); 2091 dout("queue_con %p ref count 0\n", con);
2098 return; 2092 return;