* [B.A.T.M.A.N.] [PATCH] batctl: Remove unused but set variable in roam and tt dump functions
@ 2011-06-05 21:50 Sven Eckelmann
2011-06-06 9:35 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2011-06-05 21:50 UTC (permalink / raw)
To: b.a.t.m.a.n
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
tcpdump.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/tcpdump.c b/tcpdump.c
index 3e68844..85d461e 100644
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -253,12 +253,10 @@ static void dump_vlan(unsigned char *packet_buff, ssize_t buff_len, int read_opt
static void dump_batman_tt(unsigned char *packet_buff, ssize_t buff_len, int read_opt, int time_printed)
{
- struct ether_header *ether_header;
struct tt_query_packet *tt_query_packet;
LEN_CHECK((size_t)buff_len - sizeof(struct ether_header), sizeof(struct tt_query_packet), "BAT TT");
- ether_header = (struct ether_header *)packet_buff;
tt_query_packet = (struct tt_query_packet *)(packet_buff + sizeof(struct ether_header));
if (!time_printed)
@@ -280,12 +278,10 @@ static void dump_batman_tt(unsigned char *packet_buff, ssize_t buff_len, int rea
static void dump_batman_roam(unsigned char *packet_buff, ssize_t buff_len, int read_opt, int time_printed)
{
- struct ether_header *ether_header;
struct roam_adv_packet *roam_adv_packet;
LEN_CHECK((size_t)buff_len - sizeof(struct ether_header), sizeof(struct roam_adv_packet), "BAT ROAM");
- ether_header = (struct ether_header *)packet_buff;
roam_adv_packet = (struct roam_adv_packet *)(packet_buff + sizeof(struct ether_header));
if (!time_printed)
--
1.7.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batctl: Remove unused but set variable in roam and tt dump functions
2011-06-05 21:50 [B.A.T.M.A.N.] [PATCH] batctl: Remove unused but set variable in roam and tt dump functions Sven Eckelmann
@ 2011-06-06 9:35 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2011-06-06 9:35 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Sunday, June 05, 2011 11:50:01 PM Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> tcpdump.c | 4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)
Applied in revision 3a54a52,
Thanks,
Marek
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-06 9:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-05 21:50 [B.A.T.M.A.N.] [PATCH] batctl: Remove unused but set variable in roam and tt dump functions Sven Eckelmann
2011-06-06 9:35 ` Marek Lindner
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).