projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dbc15f
)
[SCTP]: Remove an unused parameter from sctp_cmd_hb_timer_update
author
Gui Jianfeng
<
[email protected]
>
Sun, 13 Apr 2008 01:55:12 +0000
(18:55 -0700)
committer
David S. Miller
<
[email protected]
>
Sun, 13 Apr 2008 01:55:12 +0000
(18:55 -0700)
The 'asoc' parameter to sctp_cmd_hb_timer_update() is unused, and
we can remove it.
Signed-off-by: Gui Jianfeng <
[email protected]
>
Signed-off-by: Vlad Yasevich <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/sctp/sm_sideeffect.c
patch
|
blob
|
history
diff --git
a/net/sctp/sm_sideeffect.c
b/net/sctp/sm_sideeffect.c
index 5fdb623d828138eeaa03676317d0d9b9beb39880..13beed263e318850af2d37f4360e7482273d3684 100644
(file)
--- 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,
/* Helper function to update the heartbeat timer. */
static void sctp_cmd_hb_timer_update(sctp_cmd_seq_t *cmds,
- struct sctp_association *asoc,
struct sctp_transport *t)
{
/* Update the heartbeat timer. */
@@
-1451,7
+1450,7
@@
static int sctp_cmd_interpreter(sctp_event_t event_type,
case SCTP_CMD_HB_TIMER_UPDATE:
t = cmd->obj.transport;
- sctp_cmd_hb_timer_update(commands,
asoc,
t);
+ sctp_cmd_hb_timer_update(commands, t);
break;
case SCTP_CMD_HB_TIMERS_STOP: