diff options
author | Gui Jianfeng <guijianfeng@cn.fujitsu.com> | 2008-04-12 21:55:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-12 21:55:12 -0400 |
commit | 765ff02e896a4f4e0fdb223aadab629aaf3756d2 (patch) | |
tree | 9a36915ff08b1fa386dc0b180671c63d02e6bc1a /net | |
parent | 9dbc15f055f05393ace4f1733f160ec3d188cf9b (diff) |
[SCTP]: Remove an unused parameter from sctp_cmd_hb_timer_update
The 'asoc' parameter to sctp_cmd_hb_timer_update() is unused, and
we can remove it.
Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/sctp/sm_sideeffect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c index 5fdb623d8281..13beed263e31 100644 --- a/net/sctp/sm_sideeffect.c +++ b/net/sctp/sm_sideeffect.c | |||
@@ -589,7 +589,6 @@ static void sctp_cmd_t3_rtx_timers_stop(sctp_cmd_seq_t *cmds, | |||
589 | 589 | ||
590 | /* Helper function to update the heartbeat timer. */ | 590 | /* Helper function to update the heartbeat timer. */ |
591 | static void sctp_cmd_hb_timer_update(sctp_cmd_seq_t *cmds, | 591 | static void sctp_cmd_hb_timer_update(sctp_cmd_seq_t *cmds, |
592 | struct sctp_association *asoc, | ||
593 | struct sctp_transport *t) | 592 | struct sctp_transport *t) |
594 | { | 593 | { |
595 | /* Update the heartbeat timer. */ | 594 | /* Update the heartbeat timer. */ |
@@ -1451,7 +1450,7 @@ static int sctp_cmd_interpreter(sctp_event_t event_type, | |||
1451 | 1450 | ||
1452 | case SCTP_CMD_HB_TIMER_UPDATE: | 1451 | case SCTP_CMD_HB_TIMER_UPDATE: |
1453 | t = cmd->obj.transport; | 1452 | t = cmd->obj.transport; |
1454 | sctp_cmd_hb_timer_update(commands, asoc, t); | 1453 | sctp_cmd_hb_timer_update(commands, t); |
1455 | break; | 1454 | break; |
1456 | 1455 | ||
1457 | case SCTP_CMD_HB_TIMERS_STOP: | 1456 | case SCTP_CMD_HB_TIMERS_STOP: |