[PATCH 0/4] *** rtl8188eu: Replace semaphores with mutexes or completions ***

From: Binoy Jayan
Date: Fri Jun 03 2016 - 05:59:41 EST


Hi,

These are a set of patches which removes semaphores from:

drivers/staging/rtl8188eu

These are part of a bigger effort to eliminate all semaphores
from the linux kernel.

They build correctly (individually and as a whole).
NB: I have not tested this as I do not have the following hardware:

"Realtek RTL8188EU Wireless LAN NIC driver"

Thanks,
Binoy

Binoy Jayan (4):
irtl8188eu: Replace semaphore cmd_queue_sema with completion
rtl8188eu: Replace semaphore terminate_cmdthread_sema with completion
rtl8188eu: pwrctrl_priv: Replace semaphore 'lock' with mutex
rtl8188eu: Remove unused semaphores

drivers/staging/rtl8188eu/core/rtw_cmd.c | 12 ++++++------
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 20 ++++++++++----------
drivers/staging/rtl8188eu/core/rtw_xmit.c | 4 ----
drivers/staging/rtl8188eu/include/osdep_service.h | 4 +---
drivers/staging/rtl8188eu/include/rtw_cmd.h | 4 ++--
drivers/staging/rtl8188eu/include/rtw_event.h | 2 +-
drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 17 +----------------
drivers/staging/rtl8188eu/include/rtw_xmit.h | 3 ---
drivers/staging/rtl8188eu/os_dep/os_intfs.c | 6 +++---
drivers/staging/rtl8188eu/os_dep/osdep_service.c | 7 -------
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 8 ++++----
11 files changed, 28 insertions(+), 59 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project