staging: rtl8723au: Remove unused for_each_ie() and dump_ies23a()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fcff60e920
commit
daa5d2f867
2 changed files with 0 additions and 25 deletions
drivers/staging/rtl8723au
|
@ -1164,21 +1164,6 @@ void rtw_macaddr_cfg23a(u8 *mac_addr)
|
|||
MAC_ARG(mac_addr));
|
||||
}
|
||||
|
||||
void dump_ies23a(u8 *buf, u32 buf_len) {
|
||||
u8* pos = (u8*)buf;
|
||||
u8 id, len;
|
||||
|
||||
while (pos-buf <= buf_len) {
|
||||
id = *pos;
|
||||
len = *(pos + 1);
|
||||
|
||||
DBG_8723A("%s ID:%u, LEN:%u\n", __func__, id, len);
|
||||
dump_wps_ie23a(pos, len);
|
||||
|
||||
pos += (2 + len);
|
||||
}
|
||||
}
|
||||
|
||||
void dump_wps_ie23a(u8 *ie, u32 ie_len) {
|
||||
u8* pos = (u8*)ie;
|
||||
u16 id;
|
||||
|
|
|
@ -549,16 +549,6 @@ u8 *rtw_get_wps_ie23a(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
|
|||
u8 *rtw_get_wps_attr23a(u8 *wps_ie, uint wps_ielen, u16 target_attr_id ,u8 *buf_attr, u32 *len_attr);
|
||||
u8 *rtw_get_wps_attr_content23a(u8 *wps_ie, uint wps_ielen, u16 target_attr_id ,u8 *buf_content, uint *len_content);
|
||||
|
||||
/**
|
||||
* for_each_ie - iterate over continuous IEs
|
||||
* @ie:
|
||||
* @buf:
|
||||
* @buf_len:
|
||||
*/
|
||||
#define for_each_ie(ie, buf, buf_len) \
|
||||
for (ie = (void*)buf; (((u8*)ie) - ((u8*)buf) + 1) < buf_len; ie = (void*)(((u8*)ie) + *(((u8*)ie)+1) + 2))
|
||||
|
||||
void dump_ies23a(u8 *buf, u32 buf_len);
|
||||
void dump_wps_ie23a(u8 *ie, u32 ie_len);
|
||||
|
||||
uint rtw_get_rateset_len23a(u8 *rateset);
|
||||
|
|
Loading…
Add table
Reference in a new issue