staging: rtl8188eu: remove unused IS_MCAST
authorMichael Straube <straube.linux@gmail.com>
Fri, 10 Aug 2018 07:18:32 +0000 (09:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:20:48 +0000 (19:20 +0200)
Remove the now unused IS_MCAST.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/wifi.h

index 259bf2c..0664d5f 100644 (file)
@@ -257,14 +257,6 @@ enum WIFI_REG_DOMAIN {
 
 #define GetAddr4Ptr(pbuf)      ((unsigned char *)((size_t)(pbuf) + 24))
 
-static inline int IS_MCAST(unsigned char *da)
-{
-       if ((*da) & 0x01)
-               return true;
-       else
-               return false;
-}
-
 static inline unsigned char *get_da(unsigned char *pframe)
 {
        unsigned char   *da;