diff mbox

Remove unused variable debug_level_info in posix/posix.c

Message ID 1228157822-29406-3-git-send-email-sven.eckelmann@gmx.de
State Accepted, archived
Headers show

Commit Message

Sven Eckelmann Dec. 1, 2008, 6:56 p.m. UTC
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
 batman/posix/posix.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
diff mbox

Patch

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 );