diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-25 18:59:55 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-25 23:00:16 +0000 | 
| commit | 9f2d03544785b7f6cb08fe2d6ad6a2a491d8fb53 (patch) | |
| tree | 3f9ca6ee7c91287620e3ce27c8ef9a841fb877a6 /eigrpd/eigrp_hello.c | |
| parent | b08047f82d887d1ea639bbfe97147b46572099d5 (diff) | |
*: remove useless return variables
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_hello.c')
| -rw-r--r-- | eigrpd/eigrp_hello.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/eigrpd/eigrp_hello.c b/eigrpd/eigrp_hello.c index b4d850be08..dacd5caeb5 100644 --- a/eigrpd/eigrp_hello.c +++ b/eigrpd/eigrp_hello.c @@ -577,8 +577,6 @@ static uint16_t eigrp_next_sequence_encode(struct stream *s)  static uint16_t eigrp_hello_parameter_encode(struct eigrp_interface *ei,  					     struct stream *s, uint8_t flags)  { -	uint16_t length = EIGRP_TLV_PARAMETER_LEN; -  	// add in the parameters TLV  	stream_putw(s, EIGRP_TLV_PARAMETER);  	stream_putw(s, EIGRP_TLV_PARAMETER_LEN); @@ -605,7 +603,7 @@ static uint16_t eigrp_hello_parameter_encode(struct eigrp_interface *ei,  	// and set hold time value..  	stream_putw(s, ei->params.v_wait); -	return length; +	return EIGRP_TLV_PARAMETER_LEN;  }  /**  | 
