[B.A.T.M.A.N.] [PATCH] Remove unused variable debug_level_info in posix/posix.c

Sven Eckelmann sven.eckelmann at gmx.de
Mon Dec 1 18:56:57 UTC 2008


Signed-off-by: Sven Eckelmann <sven.eckelmann at gmx.de>
---
 batman/posix/posix.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/batman/posix/posix.c b/batman/posix/posix.c
index 1a67e13..048cf94 100644
--- a/batman/posix/posix.c
+++ b/batman/posix/posix.c
@@ -523,7 +523,6 @@ void segmentation_fault(int32_t BATMANUNUSED(sig)) {
 void cleanup(void) {
 
 	int8_t i;
-	struct debug_level_info *debug_level_info;
 	struct list_head *debug_pos, *debug_pos_tmp;
 
 
@@ -533,8 +532,6 @@ void cleanup(void) {
 
 			list_for_each_safe( debug_pos, debug_pos_tmp, (struct list_head *)debug_clients.fd_list[i] ) {
 
-				debug_level_info = list_entry(debug_pos, struct debug_level_info, list);
-
 				list_del( (struct list_head *)debug_clients.fd_list[i], debug_pos, (struct list_head_first *)debug_clients.fd_list[i] );
 				debugFree( debug_pos, 1218 );
 
-- 
1.6.0.4




More information about the B.A.T.M.A.N mailing list