iwlwifi: mvm: remove unnecessary forward declarations
authorJohannes Berg <johannes.berg@intel.com>
Mon, 20 May 2019 09:26:16 +0000 (11:26 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:11 +0000 (15:31 +0300)
These static functions are only used after their definition,
so we don't need the forward declarations.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c

index 10f18536dd0d288884aca8068eded9b1bc193dcb..4fae0cb22195e88d14a9bd3540f9bd24ce074779 100644 (file)
 #include "sta.h"
 #include "rs.h"
 
-static int iwl_mvm_set_fw_key_idx(struct iwl_mvm *mvm);
-
-static int iwl_mvm_send_sta_key(struct iwl_mvm *mvm,
-                               u32 sta_id,
-                               struct ieee80211_key_conf *key, bool mcast,
-                               u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags,
-                               u8 key_offset, bool mfp);
-
 /*
  * New version of ADD_STA_sta command added new fields at the end of the
  * structure, so sending the size of the relevant API's structure is enough to