]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drivers: wilc1000: remove references to semaphores
authorJoshua Houghton <josh@awful.name>
Mon, 1 Aug 2016 19:17:25 +0000 (19:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:27:16 +0000 (17:27 +0200)
* Update the comments that refer to semaphores
* Remove redundant includes to semphore.h

Signed-off-by: Joshua Houghton <josh@awful.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/TODO
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h
drivers/staging/wilc1000/wilc_wlan.h
drivers/staging/wilc1000/wilc_wlan_if.h

index ec93b2ee0b08c9a937bc9ad68e68c55075b767a6..ae61b55f14fd769f8275ce6e698f5855f0c94296 100644 (file)
@@ -3,7 +3,6 @@ TODO:
 - remove OS wrapper functions
 - remove custom debug and tracing functions
 - rework comments and function headers(also coding style)
-- replace all semaphores with mutexes or completions
 - Move handling for each individual members of 'union message_body' out
   into a separate 'struct work_struct' and completely remove the multiplexer
   that is currently part of host_if_work(), allowing movement of the
index 3a66255f14fc77a7376eedee063452c0b45c06be..315ed2ea2925786c0026a38f489c555e69aff442 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/kernel.h>
 #include <linux/skbuff.h>
 #include <linux/mutex.h>
-#include <linux/semaphore.h>
 #include <linux/completion.h>
 
 static int dev_state_ev_handler(struct notifier_block *this,
index 5cc6a82d80818f7c725f5631272a4eb3db510752..ec6b1674cf38425e3deb9a8a67e25ffb27845390 100644 (file)
@@ -131,7 +131,7 @@ struct wilc_priv {
        struct wilc_wfi_key *wilc_gtk[MAX_NUM_STA];
        struct wilc_wfi_key *wilc_ptk[MAX_NUM_STA];
        u8 wilc_groupkey;
-       /* semaphores */
+       /* mutexes */
        struct mutex scan_req_lock;
        /*  */
        bool gbAutoRateAdjusted;
index 30e5312ee87e6ac838c6701f610b7c0da63ffacd..de6c4ddbf45a75988e2f79df375f57d91a213085 100644 (file)
 
 #define ENABLE_RX_VMM          (SEL_VMM_TBL1 | EN_VMM)
 #define ENABLE_TX_VMM          (SEL_VMM_TBL0 | EN_VMM)
-/*time for expiring the semaphores of cfg packets*/
+/*time for expiring the completion of cfg packets*/
 #define CFG_PKTS_TIMEOUT       2000
 /********************************************
  *
index 410bfc034319cbc56b9f867cddcfcc0f64ffdc2e..439ac6f8d533605a607086d7988c01b8ea5a9bb8 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef WILC_WLAN_IF_H
 #define WILC_WLAN_IF_H
 
-#include <linux/semaphore.h>
 #include <linux/netdevice.h>
 
 /********************************************