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:
parent
1e15eec64f
commit
692310d68c
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user