From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>,
vladislav <vladislav.yasevich@hp.com>,
netdev <netdev@vger.kernel.org>,
lksctp-dev <lksctp-developers@lists.sourceforge.net>,
David Miller <davem@davemloft.net>
Subject: Re: [PATCH] SCTP: Remove an useless parameter from
Date: Thu, 27 Mar 2008 23:54:04 -0300 [thread overview]
Message-ID: <20080328025404.GO14945@ghostprotocols.net> (raw)
In-Reply-To: <47EC570E.5090004@cn.fujitsu.com>
Em Fri, Mar 28, 2008 at 10:25:18AM +0800, Gui Jianfeng escreveu:
> Arnaldo Carvalho de Melo wrote:
> > Em Fri, Mar 28, 2008 at 09:52:22AM +0800, Gui Jianfeng escreveu:
> >> Vlad,
> >> There is an useless parameter in sctp_cmd_hb_timer_update,
> >> remove it.
> >>
> >> Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
> >> ---
> >> 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 28eb38e..5daeab5 100644
> >> --- a/net/sctp/sm_sideeffect.c
> >> +++ b/net/sctp/sm_sideeffect.c
> >> @@ -593,7 +593,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. */
> >> @@ -1457,7 +1456,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;
> >
> > you mean it was not compiling before?
>
> I mean this parameter is never used in this function.
Sorry for the disturbance, you're of course right.
- Arnaldo
next prev parent reply other threads:[~2008-03-28 2:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 1:52 [PATCH] SCTP: Remove an useless parameter from Gui Jianfeng
2008-03-28 2:07 ` Arnaldo Carvalho de Melo
2008-03-28 2:25 ` Gui Jianfeng
2008-03-28 2:54 ` Arnaldo Carvalho de Melo [this message]
2008-03-28 2:47 ` Wang Chen
2008-03-28 13:36 ` Vlad Yasevich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080328025404.GO14945@ghostprotocols.net \
--to=acme@redhat.com \
--cc=davem@davemloft.net \
--cc=guijianfeng@cn.fujitsu.com \
--cc=lksctp-developers@lists.sourceforge.net \
--cc=netdev@vger.kernel.org \
--cc=vladislav.yasevich@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).