]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8192e: Remove unused macro RT_SET_PS_LEVEL
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 16 Apr 2023 07:19:52 +0000 (09:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 11:55:19 +0000 (13:55 +0200)
Remove unused macro RT_SET_PS_LEVEL to shorten code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/0d397210830f77ad3231c3b4a0465ae89aacb962.1681627603.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h

index 1a0e7ae70ca68838c7aa91e5df7d6c4d09127494..6e665e866f1f3148e40c7685678468102c0e579b 100644 (file)
@@ -100,7 +100,6 @@ static inline void *netdev_priv_rsl(struct net_device *dev)
        ((psc->CurPsLevel & _PS_FLAG) ? true : false)
 #define        RT_CLEAR_PS_LEVEL(psc, _PS_FLAG)        \
        (psc->CurPsLevel &= (~(_PS_FLAG)))
-#define        RT_SET_PS_LEVEL(psc, _PS_FLAG)  (psc->CurPsLevel |= _PS_FLAG)
 
 /* defined for skb cb field */
 /* At most 28 byte */