Skip to content

Commit

Permalink
iwlegacy: move IL_MASK
Browse files Browse the repository at this point in the history
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
  • Loading branch information
Stanislaw Gruszka committed Nov 15, 2011
1 parent 6278dda commit e53aac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/iwlegacy/4965-mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions drivers/net/wireless/iwlegacy/iwl-helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e53aac4

Please sign in to comment.