diff options
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | 2015-06-15 22:06:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-18 07:35:02 +0300 |
commit | 79b7d693d57bba56dcfb66e59189b98dbdc39ede (patch) | |
tree | 64c259fbde447cce53a96dc627e42ede9a1b0541 /drivers | |
parent | 4b2f218471a63214a5e1785421eb4cf9aae0ba1d (diff) | |
download | linux-79b7d693d57bba56dcfb66e59189b98dbdc39ede.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib.h | 1 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index b4eb24e25770..4b6ccb8614a2 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -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, diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index a1237729938f..dc3fc129f7e8 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -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 |