From f3784a7b55dcc9103f215c17a89cca21cd914f53 Mon Sep 17 00:00:00 2001 From: sashan Date: Fri, 28 Apr 2023 15:50:05 +0000 Subject: [PATCH] remove superfluous/invalid KASSERT() in pfsync_q_del(). pointed and OK bluhm@ --- sys/net/if_pfsync.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c index 600d474ae3b..822b4211d0f 100644 --- a/sys/net/if_pfsync.c +++ b/sys/net/if_pfsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pfsync.c,v 1.313 2023/02/15 18:11:47 sashan Exp $ */ +/* $OpenBSD: if_pfsync.c,v 1.314 2023/04/28 15:50:05 sashan Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -2259,8 +2259,6 @@ pfsync_q_del(struct pf_state *st) struct pfsync_softc *sc = pfsyncif; int q; - KASSERT(st->sync_state != PFSYNC_S_NONE); - mtx_enter(&sc->sc_st_mtx); q = st->sync_state; /* -- 2.20.1