[PATCH v2 0/4] *** rtl8192u: Replace semaphores with mutexes ***

From: Binoy Jayan
Date: Thu Jun 02 2016 - 06:53:24 EST


These are a set of patches [v2] which removes semaphores from:


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 RTL8192U Wireless LAN NIC driver"

Review comments w.r.t. PATCH v1:
Changed the following patch (PATCH 4/4)
rtl8192u: Replace semaphore rf_sem with mutex
rtl8192u: Remove unused semaphore rf_sem
since 'rf_sem' has no users, removing it instead
of replacing it with a mutex.


Binoy Jayan (4):
rtl8192u: r8192_priv: Replace semaphore wx_sem with mutex
rtl8192u: ieee80211_device: Replace semaphore wx_sem with mutex
rtl8192u: Replace semaphore scan_sem with mutex
rtl8192u: Remove unused semaphore rf_sem

drivers/staging/rtl8192u/ieee80211/ieee80211.h | 4 +-
.../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 54 +++++++--------
.../rtl8192u/ieee80211/ieee80211_softmac_wx.c | 34 ++++-----
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 6 +-
drivers/staging/rtl8192u/r8192U.h | 3 +-
drivers/staging/rtl8192u/r8192U_core.c | 33 +++++----
drivers/staging/rtl8192u/r8192U_wx.c | 80 +++++++++++-----------
7 files changed, 106 insertions(+), 108 deletions(-)

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