summaryrefslogtreecommitdiff
path: root/net/sctp/sm_sideeffect.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-11 05:23:51 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-11 20:02:44 +0300
commite2c3108ab25b4dbab3821e8b6084bfb73afb655c (patch)
tree190beef860c49bec18b10abe1cc54a673a6c9f1c /net/sctp/sm_sideeffect.c
parentb7ef2618a0bf75c1e480b05739b0c5f2a42081cd (diff)
downloadlinux-e2c3108ab25b4dbab3821e8b6084bfb73afb655c.tar.xz
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/sm_sideeffect.c')
-rw-r--r--net/sctp/sm_sideeffect.c2
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;