madwifi: remove some leftover duplicate definitions
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 10 May 2009 20:13:13 +0000 (20:13 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 10 May 2009 20:13:13 +0000 (20:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15758 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/patches/424-timing.patch
package/madwifi/patches/425-rc_rexmit.patch

index 47d08deefa4cda194c7aab453675aaad0e38c46c..b4c00bd64b1010ca9d6d6423531624ddf5855391 100644 (file)
  int athdebug_init(int argc, char *argv[]);
  int athkey_init(int argc, char *argv[]);
  int athstats_init(int argc, char *argv[]);
+--- a/ath_rate/minstrel/minstrel.h
++++ b/ath_rate/minstrel/minstrel.h
+@@ -172,14 +172,6 @@ struct minstrel_node {
+ #define       ATH_NODE_MINSTREL(an)   ((struct minstrel_node *)&an[1])
+-
+-#ifndef MIN
+-#define MIN(a,b)        ((a) < (b) ? (a) : (b))
+-#endif
+-#ifndef MAX
+-#define MAX(a,b)        ((a) > (b) ? (a) : (b))
+-#endif
+-
+ /*
+  * Definitions for pulling the rate and trie counts from
+  * a 5212 h/w descriptor. These Don't belong here; the
+--- a/ath_rate/sample/sample.h
++++ b/ath_rate/sample/sample.h
+@@ -98,14 +98,6 @@ struct sample_node {
+ };
+ #define       ATH_NODE_SAMPLE(an)     ((struct sample_node *)&an[1])
+-
+-#ifndef MIN
+-#define MIN(a,b)        ((a) < (b) ? (a) : (b))
+-#endif
+-#ifndef MAX
+-#define MAX(a,b)        ((a) > (b) ? (a) : (b))
+-#endif
+-
+ /*
+  * Definitions for pulling the rate and trie counts from
+  * a 5212 h/w descriptor. These Don't belong here; the
index 6b06a850274292b4fb4b9609cd4a583c6b4bed1e..407e4b3c16f1621690092416d2c9fc3e18e34f43 100644 (file)
  static void
 --- a/ath_rate/minstrel/minstrel.h
 +++ b/ath_rate/minstrel/minstrel.h
-@@ -171,36 +171,6 @@ struct minstrel_node {
+@@ -172,36 +172,6 @@ struct minstrel_node {
  
  #define       ATH_NODE_MINSTREL(an)   ((struct minstrel_node *)&an[1])
  
                                0, 0,
 --- a/ath_rate/sample/sample.h
 +++ b/ath_rate/sample/sample.h
-@@ -98,36 +98,4 @@ struct sample_node {
+@@ -98,35 +98,4 @@ struct sample_node {
  };
  #define       ATH_NODE_SAMPLE(an)     ((struct sample_node *)&an[1])
  
--
 -/*
 - * Definitions for pulling the rate and trie counts from
 - * a 5212 h/w descriptor. These Don't belong here; the