sctp: remove the typedef sctp_event_timeout_t
This patch is to remove the typedef sctp_event_timeout_t, and replace with enum sctp_event_timeout 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:

committed by
David S. Miller

parent
a0f098d038
commit
19cd1592a2
@@ -280,7 +280,7 @@ out_unlock:
|
||||
* for timeouts which use the association as their parameter.
|
||||
*/
|
||||
static void sctp_generate_timeout_event(struct sctp_association *asoc,
|
||||
sctp_event_timeout_t timeout_type)
|
||||
enum sctp_event_timeout timeout_type)
|
||||
{
|
||||
struct sock *sk = asoc->base.sk;
|
||||
struct net *net = sock_net(sk);
|
||||
@@ -1052,8 +1052,8 @@ static void sctp_cmd_adaptation_ind(sctp_cmd_seq_t *commands,
|
||||
|
||||
|
||||
static void sctp_cmd_t1_timer_update(struct sctp_association *asoc,
|
||||
sctp_event_timeout_t timer,
|
||||
char *name)
|
||||
enum sctp_event_timeout timer,
|
||||
char *name)
|
||||
{
|
||||
struct sctp_transport *t;
|
||||
|
||||
|
Reference in New Issue
Block a user