Drop remaining unneeded != NULL
Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -98,7 +98,7 @@ static int ff_sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from,
|
||||
if (msg_flags)
|
||||
*msg_flags = inmsg.msg_flags;
|
||||
|
||||
for (cmsg = CMSG_FIRSTHDR(&inmsg); cmsg != NULL;
|
||||
for (cmsg = CMSG_FIRSTHDR(&inmsg); cmsg;
|
||||
cmsg = CMSG_NXTHDR(&inmsg, cmsg)) {
|
||||
if ((IPPROTO_SCTP == cmsg->cmsg_level) &&
|
||||
(SCTP_SNDRCV == cmsg->cmsg_type))
|
||||
|
||||
Reference in New Issue
Block a user