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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue