diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-05-10 20:13:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-05-10 20:13:13 +0000 |
commit | ed9208de6f66876d65269d91469f3ee498c6825a (patch) | |
tree | 89680fdfb79641458771ed25c8c629791c68af97 /package/madwifi/patches/424-timing.patch | |
parent | 1c2db4a6158f731c26b7aadc93a7ec1ee4d72242 (diff) | |
download | master-187ad058-ed9208de6f66876d65269d91469f3ee498c6825a.tar.gz master-187ad058-ed9208de6f66876d65269d91469f3ee498c6825a.tar.bz2 master-187ad058-ed9208de6f66876d65269d91469f3ee498c6825a.zip |
madwifi: remove some leftover duplicate definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15758 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/424-timing.patch')
-rw-r--r-- | package/madwifi/patches/424-timing.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/madwifi/patches/424-timing.patch b/package/madwifi/patches/424-timing.patch index 47d08deefa..b4c00bd64b 100644 --- a/package/madwifi/patches/424-timing.patch +++ b/package/madwifi/patches/424-timing.patch @@ -728,3 +728,37 @@ 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 |