mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
sctp: remove the typedef sctp_error_t
This patch is to remove the typedef sctp_error_t, and replace with enum sctp_error in the places where it's using this typedef. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
87caeba791
commit
2a49321677
2 changed files with 3 additions and 3 deletions
|
@ -528,7 +528,7 @@ sctp_disposition_t sctp_sf_do_5_1C_ack(struct net *net,
|
|||
(struct sctp_init_chunk *)chunk->chunk_hdr, chunk,
|
||||
&err_chunk)) {
|
||||
|
||||
sctp_error_t error = SCTP_ERROR_NO_RESOURCE;
|
||||
enum sctp_error error = SCTP_ERROR_NO_RESOURCE;
|
||||
|
||||
/* This chunk contains fatal error. It is to be discarded.
|
||||
* Send an ABORT, with causes. If there are no causes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue