Browse Source

Staging: batman-adv: remove obsolete variables

This patch removes a variable that became obsolete since the skb handling
replaced the packet handling thread.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Marek Lindner 15 years ago
parent
commit
bc0ad071a7
2 changed files with 0 additions and 3 deletions
  1. 0 2
      drivers/staging/batman-adv/routing.c
  2. 0 1
      drivers/staging/batman-adv/routing.h

+ 0 - 2
drivers/staging/batman-adv/routing.c

@@ -35,8 +35,6 @@
 
 DECLARE_WAIT_QUEUE_HEAD(thread_wait);
 
-atomic_t exit_cond;
-
 void slide_own_bcast_window(struct batman_if *batman_if)
 {
 	HASHIT(hashit);

+ 0 - 1
drivers/staging/batman-adv/routing.h

@@ -22,7 +22,6 @@
 #include "types.h"
 
 extern wait_queue_head_t thread_wait;
-extern atomic_t exit_cond;
 
 void slide_own_bcast_window(struct batman_if *batman_if);
 void receive_bat_packet(struct ethhdr *ethhdr,