From: Sven Eckelmann <sven.eckelmann@gmx.de>
To: b.a.t.m.a.n@open-mesh.net
Subject: [B.A.T.M.A.N.] [PATCH] Remove unused functions isDuplicate and isBntog
Date: Mon, 1 Dec 2008 19:57:01 +0100 [thread overview]
Message-ID: <1228157822-29406-7-git-send-email-sven.eckelmann@gmx.de> (raw)
In-Reply-To: <1228157822-29406-1-git-send-email-sven.eckelmann@gmx.de>
---
batman/batman.c | 37 -------------------------------------
1 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/batman/batman.c b/batman/batman.c
index ebe5aab..0c17f33 100644
--- a/batman/batman.c
+++ b/batman/batman.c
@@ -666,43 +666,6 @@ unsigned char get_gw_class(int down, int up)
-int isDuplicate(struct orig_node *orig_node, uint16_t seqno)
-{
- struct list_head *neigh_pos;
- struct neigh_node *neigh_node;
-
- prof_start( PROF_is_duplicate );
-
- list_for_each( neigh_pos, &orig_node->neigh_list ) {
-
- neigh_node = list_entry( neigh_pos, struct neigh_node, list );
-
- if ( get_bit_status( neigh_node->real_bits, orig_node->last_real_seqno, seqno ) ) {
-
- prof_stop( PROF_is_duplicate );
- return 1;
-
- }
-
- }
-
- prof_stop( PROF_is_duplicate );
-
- return 0;
-}
-
-
-
-int isBntog(uint32_t neigh, struct orig_node *orig_tog_node)
-{
- if ( ( orig_tog_node->router != NULL ) && ( orig_tog_node->router->addr == neigh ) )
- return 1;
-
- return 0;
-}
-
-
-
static int isBidirectionalNeigh(struct orig_node *orig_node, struct orig_node *orig_neigh_node, struct bat_packet *in, uint32_t recv_time, struct batman_if *if_incoming)
{
--
1.6.0.4
next prev parent reply other threads:[~2008-12-01 18:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 18:56 [B.A.T.M.A.N.] Intel CC warning smashing Sven Eckelmann
2008-12-01 18:56 ` [B.A.T.M.A.N.] [PATCH] Correct parameter in declaration of use_gateway_module Sven Eckelmann
2008-12-01 19:05 ` [B.A.T.M.A.N.] " Sven Eckelmann
2008-12-01 19:14 ` [B.A.T.M.A.N.] [PATCHv2] Use ansi-style declaration for parameterless functions Sven Eckelmann
2008-12-01 19:14 ` [B.A.T.M.A.N.] [PATCHv2] Remove unused parameter of use_gateway_module Sven Eckelmann
2008-12-01 18:56 ` [B.A.T.M.A.N.] [PATCH] Remove unused variable debug_level_info in posix/posix.c Sven Eckelmann
2008-12-01 18:56 ` [B.A.T.M.A.N.] [PATCH] Use declaration of vis_if from batman.h Sven Eckelmann
2008-12-01 18:56 ` [B.A.T.M.A.N.] [PATCH] Respect (un)signess of parameter in printf format strings Sven Eckelmann
2008-12-01 18:57 ` [B.A.T.M.A.N.] [PATCH] Mark function which are only declared locally as static Sven Eckelmann
2008-12-01 18:57 ` Sven Eckelmann [this message]
2008-12-01 18:57 ` [B.A.T.M.A.N.] [PATCH] Don't convert uint64_t to float when only comparing against 0 Sven Eckelmann
2008-12-01 20:11 ` [B.A.T.M.A.N.] [PATCH] Don't convert new_hna_len from int16_t to int and back to int16_t Sven Eckelmann
2008-12-01 20:48 ` [B.A.T.M.A.N.] [PATCH] Don't truncate file descriptor in use_kernel_module Sven Eckelmann
2008-12-01 21:12 ` [B.A.T.M.A.N.] Intel CC warning smashing Sven Eckelmann
2008-12-01 21:52 ` Simon Wunderlich
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=1228157822-29406-7-git-send-email-sven.eckelmann@gmx.de \
--to=sven.eckelmann@gmx.de \
--cc=b.a.t.m.a.n@open-mesh.net \
/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).