Skip to content

Commit d843452

Browse files
committed
wifi: iwlwifi: pcie: make _iwl_trans_pcie_gen2_stop_device() static
This function isn't used outside the file it's implemented in, so make it static. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://patch.msgid.link/20241231135726.060c01653d4e.I3f0675b3977e474b633ff10965fe6512f34ae593@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 44b1c90 commit d843452

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/net/wireless/intel/iwlwifi/pcie/internal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,6 @@ void iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans);
11371137
int iwl_trans_pcie_gen2_send_hcmd(struct iwl_trans *trans,
11381138
struct iwl_host_cmd *cmd);
11391139
void iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans);
1140-
void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans);
11411140
void iwl_pcie_d3_complete_suspend(struct iwl_trans *trans,
11421141
bool test, bool reset);
11431142
int iwl_pcie_gen2_enqueue_hcmd(struct iwl_trans *trans,

drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static void iwl_trans_pcie_fw_reset_handshake(struct iwl_trans *trans)
137137
trans_pcie->fw_reset_state = FW_RESET_IDLE;
138138
}
139139

140-
void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans)
140+
static void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans)
141141
{
142142
struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
143143

0 commit comments

Comments
 (0)