omit useless test

This commit is contained in:
Igor Sysoev 2007-12-20 20:30:45 +00:00
parent 711e9031fe
commit 0a0024bdb5

View File

@ -1426,10 +1426,6 @@ ngx_ssl_get_cached_session(ngx_ssl_conn_t *ssl_conn, u_char *id, int len,
cache = shm_zone->data;
if (cache->session_rbtree == NULL) {
return NULL;
}
sess = NULL;
shpool = (ngx_slab_pool_t *) shm_zone->shm.addr;