net: websocket: Remove assert call

Remove the useless assert as it is not needed at all here.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
Jukka Rissanen 2024-11-26 18:47:14 +02:00 committed by Benjamin Cabé
commit 692310d68c

View file

@ -99,8 +99,6 @@ static int websocket_context_unref(struct websocket_context *ctx)
static inline bool websocket_context_is_used(struct websocket_context *ctx)
{
NET_ASSERT(ctx);
return !!atomic_get(&ctx->refcount);
}