Commit 0439bb62 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

iwlwifi: move IWL_MASK into file using it

Only used in two places in the same file,
no need to be in iwl-shared.h.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 70a18c5d
...@@ -444,7 +444,6 @@ iwl_remove_notification(struct iwl_shared *shrd, ...@@ -444,7 +444,6 @@ iwl_remove_notification(struct iwl_shared *shrd,
struct iwl_notification_wait *wait_entry); struct iwl_notification_wait *wait_entry);
#define IWL_CMD(x) case x: return #x #define IWL_CMD(x) case x: return #x
#define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))
#define IWL_TRAFFIC_ENTRIES (256) #define IWL_TRAFFIC_ENTRIES (256)
#define IWL_TRAFFIC_ENTRY_SIZE (64) #define IWL_TRAFFIC_ENTRY_SIZE (64)
......
...@@ -78,6 +78,8 @@ ...@@ -78,6 +78,8 @@
#include "iwl-core.h" #include "iwl-core.h"
#include "iwl-ucode.h" #include "iwl-ucode.h"
#define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))
static int iwl_trans_rx_alloc(struct iwl_trans *trans) static int iwl_trans_rx_alloc(struct iwl_trans *trans)
{ {
struct iwl_trans_pcie *trans_pcie = struct iwl_trans_pcie *trans_pcie =
......
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