From: Calvince Otieno <calvncce@gmail.com>
To: outreachy@lists.linux.dev, linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Luke Koch <lu.ale.koch@gmail.com>,
Bagas Sanjaya <bagasdotme@gmail.com>,
Simon Horman <horms@kernel.org>,
Calvince Otieno <calvncce@gmail.com>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: wlan-ng: remove unused functions
Date: Fri, 13 Oct 2023 09:52:50 +0300 [thread overview]
Message-ID: <ZSjpQlUcyOoYv4Yh@lab-ubuntu> (raw)
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
next reply other threads:[~2023-10-13 6:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-13 6:52 Calvince Otieno [this message]
2023-10-13 9:02 ` [PATCH] staging: wlan-ng: remove unused functions Dan Carpenter
2023-10-15 7:39 ` Calvince Otieno
2023-10-15 9:24 ` Thomas Weißschuh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZSjpQlUcyOoYv4Yh@lab-ubuntu \
--to=calvncce@gmail.com \
--cc=bagasdotme@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=horms@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=lu.ale.koch@gmail.com \
--cc=outreachy@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).