summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-18 13:15:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-18 13:15:09 +0300
commit008987e5fa8d8a10a1120867fcecd0f574d5c471 (patch)
treea1e2273423e11370f46ed8341cfe3ed195f6896a
parent234cc12904e3dd5192c7a7ec533e4d64159cb22a (diff)
downloadlinux-008987e5fa8d8a10a1120867fcecd0f574d5c471.tar.xz
staging: rtl8192u: remove unneeded SN_LESS macro
It's already in a .h file, don't redefine it as the compiler doesn't like it if it does not match identically. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
index f58971a4a2e3..9a1a84548bc6 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
@@ -302,7 +302,6 @@ ieee80211_classify(struct sk_buff *skb, struct ieee80211_network *network)
}
}
-#define SN_LESS(a, b) (((a-b)&0x800)!=0)
static void ieee80211_tx_query_agg_cap(struct ieee80211_device *ieee,
struct sk_buff *skb, struct cb_desc *tcb_desc)
{