iwlegacy: move IL_MASK

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
This commit is contained in:
Stanislaw Gruszka 2011-08-31 11:18:16 +02:00
parent 6278ddab9f
commit e53aac4247
2 changed files with 2 additions and 3 deletions

View File

@ -4944,6 +4944,8 @@ static const s8 default_queue_to_tx_fifo[] = {
IL_TX_FIFO_UNUSED,
};
#define IL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))
static int il4965_alive_notify(struct il_priv *il)
{
u32 a;

View File

@ -35,9 +35,6 @@
#include "iwl-io.h"
#define IL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))
/**
* il_queue_inc_wrap - increment queue idx, wrap back to beginning
* @idx -- current idx