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 | 6559aa514a59930825090ff977444c7b8c4ea146 (patch) | |
tree | e88e381ae3feb8c6e48a41f231c32f82f69f0bbc /package | |
parent | 09f06bbfb06eee43c6d4513807122434bb527d46 (diff) | |
download | mtk-20170518-6559aa514a59930825090ff977444c7b8c4ea146.zip mtk-20170518-6559aa514a59930825090ff977444c7b8c4ea146.tar.gz mtk-20170518-6559aa514a59930825090ff977444c7b8c4ea146.tar.bz2 |
madwifi: remove some leftover duplicate definitions
SVN-Revision: 15758
Diffstat (limited to 'package')
-rw-r--r-- | package/madwifi/patches/424-timing.patch | 34 | ||||
-rw-r--r-- | package/madwifi/patches/425-rc_rexmit.patch | 5 |
2 files changed, 36 insertions, 3 deletions
diff --git a/package/madwifi/patches/424-timing.patch b/package/madwifi/patches/424-timing.patch index 47d08de..b4c00bd 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 diff --git a/package/madwifi/patches/425-rc_rexmit.patch b/package/madwifi/patches/425-rc_rexmit.patch index 6b06a85..407e4b3 100644 --- a/package/madwifi/patches/425-rc_rexmit.patch +++ b/package/madwifi/patches/425-rc_rexmit.patch @@ -241,7 +241,7 @@ 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]) @@ -468,11 +468,10 @@ 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 |