Get rid of multiple MIN macros
There are multiple redundant MIN macro declarations, some of which are not protecting against side effects. Move it to common.h instead. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
This commit is contained in:
parent
5290523db3
commit
abc239a0b0
6 changed files with 7 additions and 25 deletions
|
@ -20,13 +20,6 @@
|
|||
#include "ap_drv_ops.h"
|
||||
#include "wmm.h"
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
#ifndef MAX
|
||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
|
||||
static inline u8 wmm_aci_aifsn(int aifsn, int acm, int aci)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue