From patchwork Thu Jan 27 13:56:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 732 Return-Path: Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 0000A1545B9 for ; Thu, 27 Jan 2011 14:56:24 +0100 (CET) Received: from sven-desktop.home.narfation.org (i59F6B335.versanet.de [89.246.179.53]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 91F0794061; Thu, 27 Jan 2011 14:56:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=mail; t=1296136616; bh=E0Lfhb1VP5tz/5lMmDvJbatJsDBWaa/cvJyMYHq5YBQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=GF45Ney1IAlcXVmmWIJHb9O0LL190fYTKGMAiZe8MVZjmGaSlIUje6aHsXH5BqB+V aiVMjhsDsbwTpJyZ8OPPw+m+y53zhJ0vyY2fuPobCcwrCMk2L/lRZk8J5FJGucPX96 WUD9w1jalqPtHpr7jSUs5cfyjRHMRJ8GRqALyYTg= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Thu, 27 Jan 2011 14:56:09 +0100 Message-Id: <1296136571-13226-3-git-send-email-sven@narfation.org> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1296136571-13226-1-git-send-email-sven@narfation.org> References: <1296136571-13226-1-git-send-email-sven@narfation.org> Subject: [B.A.T.M.A.N.] [PATCH 2/4] batman-adv: Remove unused definitions X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2011 13:56:25 -0000 Signed-off-by: Sven Eckelmann --- batman-adv/main.h | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/batman-adv/main.h b/batman-adv/main.h index c239c97..b07968d 100644 --- a/batman-adv/main.h +++ b/batman-adv/main.h @@ -22,9 +22,6 @@ #ifndef _NET_BATMAN_ADV_MAIN_H_ #define _NET_BATMAN_ADV_MAIN_H_ -/* Kernel Programming */ -#define LINUX - #define DRIVER_AUTHOR "Marek Lindner , " \ "Simon Wunderlich " #define DRIVER_DESC "B.A.T.M.A.N. advanced" @@ -54,7 +51,6 @@ #define NUM_WORDS (TQ_LOCAL_WINDOW_SIZE / WORD_BIT_SIZE) -#define PACKBUFF_SIZE 2000 #define LOG_BUF_LEN 8192 /* has to be a power of 2 */ #define VIS_INTERVAL 5000 /* 5 seconds */ @@ -96,15 +92,11 @@ #define DBG_ROUTES 2 /* route or hna added / changed / deleted */ #define DBG_ALL 3 -#define LOG_BUF_LEN 8192 /* has to be a power of 2 */ - /* * Vis */ -/* #define VIS_SUBCLUSTERS_DISABLED */ - /* * Kernel headers */ @@ -160,13 +152,6 @@ static inline void bat_dbg(char type __always_unused, } #endif -#define bat_warning(net_dev, fmt, arg...) \ - do { \ - struct net_device *_netdev = (net_dev); \ - struct bat_priv *_batpriv = netdev_priv(_netdev); \ - bat_dbg(DBG_ALL, _batpriv, fmt, ## arg); \ - pr_warning("%s: " fmt, _netdev->name, ## arg); \ - } while (0) #define bat_info(net_dev, fmt, arg...) \ do { \ struct net_device *_netdev = (net_dev); \