(cherry picked from commit f6232ee6d5d7fed67b6510c8c5ab8e7f6273274e) (cherry picked from commit 501fdfe94211eb525d775738a2f6c77499033447)
@@ -760,9 +760,6 @@ static int sctp_init_sock_opt_common(int s, int af)
sctp_err++;
goto error; /* critical */
}
-#ifdef __OS_linux
-ev_success:
-#endif
#else
#error no sctp lib support for SCTP_EVENTS, consider upgrading
#endif /* SCTP_EVENTS */