Commit e53aac42 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka

iwlegacy: move IL_MASK

Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
parent 6278ddab
...@@ -4944,6 +4944,8 @@ static const s8 default_queue_to_tx_fifo[] = { ...@@ -4944,6 +4944,8 @@ static const s8 default_queue_to_tx_fifo[] = {
IL_TX_FIFO_UNUSED, IL_TX_FIFO_UNUSED,
}; };
#define IL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))
static int il4965_alive_notify(struct il_priv *il) static int il4965_alive_notify(struct il_priv *il)
{ {
u32 a; u32 a;
......
...@@ -35,9 +35,6 @@ ...@@ -35,9 +35,6 @@
#include "iwl-io.h" #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 * il_queue_inc_wrap - increment queue idx, wrap back to beginning
* @idx -- current idx * @idx -- current idx
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment