diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-11 04:23:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-11 19:02:44 +0200 |
commit | e2c3108ab25b4dbab3821e8b6084bfb73afb655c (patch) | |
tree | 190beef860c49bec18b10abe1cc54a673a6c9f1c /net/sctp | |
parent | sctp: remove the typedef sctp_socket_type_t (diff) | |
download | linux-e2c3108ab25b4dbab3821e8b6084bfb73afb655c.tar.xz linux-e2c3108ab25b4dbab3821e8b6084bfb73afb655c.zip |
sctp: remove the typedef sctp_cmd_t
This patch is to remove the typedef sctp_cmd_t, and
replace with enum sctp_cmd 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>
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/sm_sideeffect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c index 5e8e41879b03..0cb3d5a723af 100644 --- a/net/sctp/sm_sideeffect.c +++ b/net/sctp/sm_sideeffect.c @@ -1277,7 +1277,7 @@ static int sctp_cmd_interpreter(enum sctp_event event_type, struct sctp_sock *sp = sctp_sk(sk); int error = 0; int force; - sctp_cmd_t *cmd; + struct sctp_cmd *cmd; struct sctp_chunk *new_obj; struct sctp_chunk *chunk = NULL; struct sctp_packet *packet; |