lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 28 Mar 2008 10:47:20 +0800
From:	Wang Chen <wangchen@...fujitsu.com>
To:	Arnaldo Carvalho de Melo <acme@...hat.com>,
	Gui Jianfeng <guijianfeng@...fujitsu.com>,
	vladislav <vladislav.yasevich@...com>,
	netdev <netdev@...r.kernel.org>,
	lksctp-dev <lksctp-developers@...ts.sourceforge.net>,
	David Miller <davem@...emloft.net>
Subject: Re: [PATCH] SCTP: Remove an useless parameter from

Arnaldo Carvalho de Melo said the following on 2008-3-28 10:07:
> 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@...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?
> 

Compiler can not find whether a parameter of function is used.

--
WCN

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ