]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8192u: remove unneeded SN_LESS macro
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 10:15:09 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 10:15:09 +0000 (12:15 +0200)
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>
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c

index f58971a4a2e31a30c10f3514200b065d14eb5eae..9a1a84548bc62abbbde965435af0beb378a7c1e5 100644 (file)
@@ -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)
 {