Skip to content

Commit

Permalink
iwlwifi: clean up iwl-commands.h
Browse files Browse the repository at this point in the history
Do some cleanups here:
 * remove an unused prototype
 * remove some unused constants
 * clean up includes

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 7, 2012
1 parent eae63b8 commit e7a0d0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl-agn-sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
*
*****************************************************************************/

#include <linux/etherdevice.h>
#include <net/mac80211.h>

#include "iwl-dev.h"
Expand Down
10 changes: 1 addition & 9 deletions drivers/net/wireless/iwlwifi/iwl-commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,9 @@
#ifndef __iwl_commands_h__
#define __iwl_commands_h__

#include <linux/etherdevice.h>
#include <linux/ieee80211.h>
#include <linux/types.h>

struct iwl_priv;

/* Tx rates */
#define IWL_CCK_RATES 4
#define IWL_OFDM_RATES 8
#define IWL_MAX_RATES (IWL_CCK_RATES + IWL_OFDM_RATES)

enum {
REPLY_ALIVE = 0x1,
Expand Down Expand Up @@ -3851,8 +3845,6 @@ struct iwlagn_wowlan_kek_kck_material_cmd {
__le64 replay_ctr;
} __packed;

int iwl_agn_check_rxon_cmd(struct iwl_priv *priv);

/*
* REPLY_WIPAN_PARAMS = 0xb2 (Commands and Notification)
*/
Expand Down

0 comments on commit e7a0d0c

Please sign in to comment.