From 57d36665fe30f0bb8094853c4537300ae9ab8c16 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 25 Sep 2007 07:33:07 +0000 Subject: [PATCH] Unnecessary check git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2027 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_session.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_session.c b/varnish-cache/bin/varnishd/cache_session.c index 5619a204..1ce8b736 100644 --- a/varnish-cache/bin/varnishd/cache_session.c +++ b/varnish-cache/bin/varnishd/cache_session.c @@ -296,8 +296,6 @@ SES_New(struct sockaddr *addr, unsigned len) sm->workspace = u; VSL_stats->n_sess_mem++; } - if (sm == NULL) - return (NULL); CHECK_OBJ_NOTNULL(sm, SESSMEM_MAGIC); VSL_stats->n_sess++; sp = &sm->sess; -- 2.39.5