Skip to content

Commit

Permalink
user_socket.c: remove unnecessary SB_UPCALL check
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Aug 7, 2019
1 parent 8fdb672 commit 3ca5f0b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions usrsctplib/user_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1579,9 +1579,6 @@ sowakeup(struct socket *so, struct sockbuf *sb)
#endif
}
SOCKBUF_UNLOCK(sb);

if ((sb->sb_flags & SB_UPCALL) && so->so_upcall != NULL)
(*so->so_upcall)(so, so->so_upcallarg, M_NOWAIT);
}
#else /* kernel version for reference */
/*
Expand Down

0 comments on commit 3ca5f0b

Please sign in to comment.