iwlwifi: remove CMD_HIGH_PRIO
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 6 Jun 2019 08:10:25 +0000 (11:10 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:14 +0000 (15:31 +0300)
This flag is never set on any host command. Remove it.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h

index 0f8aeb1..20251f5 100644 (file)
@@ -159,9 +159,6 @@ static inline u32 iwl_rx_packet_payload_len(const struct iwl_rx_packet *pkt)
  * @CMD_ASYNC: Return right away and don't wait for the response
  * @CMD_WANT_SKB: Not valid with CMD_ASYNC. The caller needs the buffer of
  *     the response. The caller needs to call iwl_free_resp when done.
- * @CMD_HIGH_PRIO: The command is high priority - it goes to the front of the
- *     command queue, but after other high priority commands. Valid only
- *     with CMD_ASYNC.
  * @CMD_SEND_IN_IDLE: The command should be sent even when the trans is idle.
  * @CMD_MAKE_TRANS_IDLE: The command response should mark the trans as idle.
  * @CMD_WAKE_UP_TRANS: The command response should wake up the trans
@@ -173,11 +170,10 @@ enum CMD_MODE {
        CMD_ASYNC               = BIT(0),
        CMD_WANT_SKB            = BIT(1),
        CMD_SEND_IN_RFKILL      = BIT(2),
-       CMD_HIGH_PRIO           = BIT(3),
-       CMD_SEND_IN_IDLE        = BIT(4),
-       CMD_MAKE_TRANS_IDLE     = BIT(5),
-       CMD_WAKE_UP_TRANS       = BIT(6),
-       CMD_WANT_ASYNC_CALLBACK = BIT(7),
+       CMD_SEND_IN_IDLE        = BIT(3),
+       CMD_MAKE_TRANS_IDLE     = BIT(4),
+       CMD_WAKE_UP_TRANS       = BIT(5),
+       CMD_WANT_ASYNC_CALLBACK = BIT(6),
 };
 
 #define DEF_CMD_PAYLOAD_SIZE 320