drivers: wilc1000: remove references to semaphores
PATCH 1/1 drivers: wilc1000: remove references to semaphores
* Update the comments that refer to semaphores
* Remove redundant includes to semphore.h
Signed-off-by Joshua Houghton <[email protected]>
--- drivers/staging/wilc1000/TODO | 1 - drivers/staging/wilc1000/linux_wlan.c | 1 - drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- drivers/staging/wilc1000/wilc_wlan_if.h | 1 - 5 files changed, 2 insertions(+), 5 deletions(-)
drivers/staging/wilc1000/TODO +0 -1
@@ -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
drivers/staging/wilc1000/linux_wlan.c +0 -1
@@ -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,
drivers/staging/wilc1000/wilc_wfi_netdevice.h +1 -1
@@ -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;
drivers/staging/wilc1000/wilc_wlan.h +1 -1
@@ -192,7 +192,7 @@#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/******************************************** *
drivers/staging/wilc1000/wilc_wlan_if.h +0 -1
@@ -10,7 +10,6 @@#ifndef WILC_WLAN_IF_H #define WILC_WLAN_IF_H -#include <linux/semaphore.h> #include <linux/netdevice.h> /********************************************
Signature · 1 line
2.9.2
Quoted 68 lines · Joshua Houghton
* Update the comments that refer to semaphores
* Remove redundant includes tosemphore.hSigned-off-by Joshua Houghton <[email protected]>--- drivers/staging/wilc1000/TODO | 1 - drivers/staging/wilc1000/linux_wlan.c | 1 - drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- drivers/staging/wilc1000/wilc_wlan_if.h | 1 - 5 files changed, 2 insertions(+), 5 deletions(-)drivers/staging/wilc1000/TODO +0
-1@@ -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 thedrivers/staging/wilc1000/linux_wlan.c +0
-1@@ -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,drivers/staging/wilc1000/wilc_wfi_netdevice.h +1
-1@@ -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;drivers/staging/wilc1000/wilc_wlan.h +1
-1@@ -192,7 +192,7 @@#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/******************************************** * drivers/staging/wilc1000/wilc_wlan_if.h +0
-0
drivers/staging/wilc1000/wilc_wlan_if.h line 15
Quoted 7 lines
drivers/staging/wilc1000/wilc_wlan_if.h +0
-1@@ -10,7 +10,6 @@#ifndef WILC_WLAN_IF_H #define WILC_WLAN_IF_H -#include <linux/semaphore.h> #include <linux/netdevice.h> /********************************************
Removed the non existing email addresses from this list and copy current maintainer
Acked-by Aditya Shankar <[email protected]>
Thanks!