Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eeeb5fb9 authored by Joshua Houghton's avatar Joshua Houghton Committed by Greg Kroah-Hartman
Browse files

drivers: wilc1000: remove references to semaphores



* Update the comments that refer to semaphores
* Remove redundant includes to semphore.h

Signed-off-by: default avatarJoshua Houghton <josh@awful.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aec8755d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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
/********************************************
 *
+0 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
#ifndef WILC_WLAN_IF_H
#define WILC_WLAN_IF_H

#include <linux/semaphore.h>
#include <linux/netdevice.h>

/********************************************