rtl8188eu: remove unused code
authorMatthias Wirth <matthias.wirth@gmail.com>
Mon, 16 Dec 2013 17:51:50 +0000 (18:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2013 01:16:51 +0000 (17:16 -0800)
These two macros needed reformatting but as they are not used anywhere we
just removed them.

Signed-off-by: Matthias Wirth <matthias.wirth@gmail.com>
Signed-off-by: Lukas Senger <lukas@fridolin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/osdep_service.h

index 423586f..46b34fc 100644 (file)
@@ -170,23 +170,6 @@ static inline void _cancel_workitem_sync(struct work_struct *pwork)
 {
        cancel_work_sync(pwork);
 }
-/*  */
-/*  Global Mutex: can only be used at PASSIVE level. */
-/*  */
-
-#define ACQUIRE_GLOBAL_MUTEX(_MutexCounter)                              \
-{                                                               \
-       while (atomic_inc_return((atomic_t *)&(_MutexCounter)) != 1)\
-       {                                                           \
-               atomic_dec((atomic_t *)&(_MutexCounter));        \
-               msleep(10);                          \
-       }                                                           \
-}
-
-#define RELEASE_GLOBAL_MUTEX(_MutexCounter)                              \
-{                                                               \
-       atomic_dec((atomic_t *)&(_MutexCounter));        \
-}
 
 static inline int rtw_netif_queue_stopped(struct net_device *pnetdev)
 {