Skip to contentSkip to conversation

iwlwifi: mld: Unused method iwl_mld_handle_tx_resp_notif (6.15-rc1)

DISCUSSION Ben Greear 2 participants 3 messages Apr 10, 2025

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

Hello,

I'm working on porting some patches we've previously added to mvm to the mld driver. Currently I'm looking at tx stats. From what I can tell, this method is not called from anywhere:

[greearb@ben-dt5 linux-2.6]$ git grep iwl_mld_handle_tx_resp_notif drivers/net/wireless/intel/iwlwifi/mld/tx.c:void iwl_mld_handle_tx_resp_notif(struct iwl_mld *mld, drivers/net/wireless/intel/iwlwifi/mld/tx.h:void iwl_mld_handle_tx_resp_notif(struct iwl_mld *mld,

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
author
#1 lore raw
Quoted 9 lines · Ben Greear

Hello,

I'm working on porting some patches we've previously added to mvm to the mld driver.  Currently I'm looking at tx stats.  From what I can tell, this method is not called from anywhere:

[greearb@ben-dt5 linux-2.6]$ git grep iwl_mld_handle_tx_resp_notif drivers/net/wireless/intel/iwlwifi/mld/tx.c:void iwl_mld_handle_tx_resp_notif(struct iwl_mld *mld, drivers/net/wireless/intel/iwlwifi/mld/tx.h:void iwl_mld_handle_tx_resp_notif(struct iwl_mld *mld,

Bleh, nevermind. A macro builds the method name.

And I guess it would have failed on module load even though it compiled with the .c method ifdef'd out.

Thanks,
Ben

#2 lore raw
In reply to Ben Greear
Quoted 10 lines · Ben Greear

Hello,

I'm working on porting some patches we've previously added to mvm to the mld driver. Currently I'm looking at tx stats. From what I can tell, this method is not called from anywhere:

[greearb@ben-dt5 linux-2.6]$ git grep iwl_mld_handle_tx_resp_notif drivers/net/wireless/intel/iwlwifi/mld/tx.c:void iwl_mld_handle_tx_resp_notif(struct iwl_mld *mld, drivers/net/wireless/intel/iwlwifi/mld/tx.h:void iwl_mld_handle_tx_resp_notif(struct iwl_mld *mld,

If you go by that you'll find a lot of unused functions ;-)

RX_HANDLER_NO_OBJECT(LEGACY_GROUP, TX_CMD, tx_resp_notif,
RX_HANDLER_SYNC)

johannes