diff options
-rw-r--r-- | src/or/channel.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/or/channel.c b/src/or/channel.c index f987caed52..2ca9a13238 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -622,15 +622,10 @@ channel_find_by_remote_digest(const char *identity_digest) channel_t * channel_next_with_digest(channel_t *chan) { - channel_t *rv = NULL; - tor_assert(chan); tor_assert(!(chan->is_listener)); - if (chan->u.cell_chan.next_with_same_id) - rv = chan->u.cell_chan.next_with_same_id; - - return rv; + return chan->u.cell_chan.next_with_same_id; } /** |