summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 13:59:55 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-07 06:33:41 +0200
commit0ceaeebe28d46e49c865f88a3e3ca75f6cf13e1f (patch)
treea1a2d68c37b5575fd98d0accaff8f5f4c40c90ea /net/sctp
parentsctp: remove the typedef sctp_scope_t (diff)
downloadlinux-0ceaeebe28d46e49c865f88a3e3ca75f6cf13e1f.tar.xz
linux-0ceaeebe28d46e49c865f88a3e3ca75f6cf13e1f.zip
sctp: remove the typedef sctp_transport_cmd_t
This patch is to remove the typedef sctp_transport_cmd_t, and replace with enum sctp_transport_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/associola.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c
index 4c1f1bb2aaad..b53efed8ff71 100644
--- a/net/sctp/associola.c
+++ b/net/sctp/associola.c
@@ -796,7 +796,7 @@ void sctp_assoc_del_nonprimary_peers(struct sctp_association *asoc,
*/
void sctp_assoc_control_transport(struct sctp_association *asoc,
struct sctp_transport *transport,
- sctp_transport_cmd_t command,
+ enum sctp_transport_cmd command,
sctp_sn_error_t error)
{
struct sctp_ulpevent *event;