CLEANUP: session: slightly simplify idle connection cleanup logic

Since previous commit a132e5efa9 ("BUG/MEDIUM: Make sure we leave the
session list in session_free().") it's pointless to delete the conn
element inside "if" blocks given that the second test is always true
as well. Let's simplify this with a single LIST_DEL_INIT() before the
test.

(cherry picked from commit 5de7817ae874901dfe44838dd26dd10c2d822c1d)
[wt: not strictly needed but makes the code more straightforward for
 future debugging]
Signed-off-by: Willy Tarreau <w@1wt.eu>
1 file changed