public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] staging: wlan-ng: remove unused functions
@ 2023-10-13  6:52 Calvince Otieno
  2023-10-13  9:02 ` Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Calvince Otieno @ 2023-10-13  6:52 UTC (permalink / raw)
  To: outreachy, linux-kernel
  Cc: Greg Kroah-Hartman, Luke Koch, Bagas Sanjaya, Simon Horman,
	Calvince Otieno, linux-staging, linux-kernel

The following functions were defined in the prism2mgmt.h file but neither
declared nor used anywhere. It is recommended that they be removed.

	- void prism2mgmt_get_grpaddr(u32 did, struct p80211pstrd *pstr,
				      struct hfa384x *priv);
	- int prism2mgmt_set_grpaddr(u32 did,
		                   u8 *prism2buf, struct p80211pstrd *pstr,
	                           struct hfa384x *priv);
	- int prism2mgmt_get_grpaddr_index(u32 did);

Signed-off-by: Calvince Otieno <calvncce@gmail.com>
---
 drivers/staging/wlan-ng/prism2mgmt.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/wlan-ng/prism2mgmt.h b/drivers/staging/wlan-ng/prism2mgmt.h
index 083a055ee986..8c3f1ac35913 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.h
+++ b/drivers/staging/wlan-ng/prism2mgmt.h
@@ -78,14 +78,6 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr,
 void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr,
 			     struct p80211pstrd *pstr);
 
-/* functions to convert Group Addresses */
-void prism2mgmt_get_grpaddr(u32 did, struct p80211pstrd *pstr,
-			    struct hfa384x *priv);
-int prism2mgmt_set_grpaddr(u32 did,
-			   u8 *prism2buf, struct p80211pstrd *pstr,
-			   struct hfa384x *priv);
-int prism2mgmt_get_grpaddr_index(u32 did);
-
 void prism2sta_processing_defer(struct work_struct *data);
 
 void prism2sta_commsqual_defer(struct work_struct *data);
-- 
Calvince Otieno


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-15  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13  6:52 [PATCH] staging: wlan-ng: remove unused functions Calvince Otieno
2023-10-13  9:02 ` Dan Carpenter
2023-10-15  7:39   ` Calvince Otieno
2023-10-15  9:24     ` Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox