mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 07:51:16 -04:00
staging: rtl8192e: Remove rtllib_is_shortslot()
This function was declared but never unused. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4b2f218471
commit
79b7d693d5
@@ -2170,7 +2170,6 @@ extern int rtllib_wx_set_gen_ie(struct rtllib_device *ieee, u8 *ie, size_t len);
|
||||
|
||||
/* rtllib_softmac.c */
|
||||
extern short rtllib_is_54g(struct rtllib_network *net);
|
||||
extern short rtllib_is_shortslot(const struct rtllib_network *net);
|
||||
extern int rtllib_rx_frame_softmac(struct rtllib_device *ieee,
|
||||
struct sk_buff *skb,
|
||||
struct rtllib_rx_stats *rx_stats, u16 type,
|
||||
|
||||
@@ -28,11 +28,6 @@ short rtllib_is_54g(struct rtllib_network *net)
|
||||
return (net->rates_ex_len > 0) || (net->rates_len > 4);
|
||||
}
|
||||
|
||||
short rtllib_is_shortslot(const struct rtllib_network *net)
|
||||
{
|
||||
return net->capability & WLAN_CAPABILITY_SHORT_SLOT_TIME;
|
||||
}
|
||||
|
||||
/* returns the total length needed for placing the RATE MFIE
|
||||
* tag and the EXTENDED RATE MFIE tag if needed.
|
||||
* It encludes two bytes per tag for the tag itself and its len
|
||||
|
||||
Reference in New Issue
Block a user