[PATCH] mwifiex: Replace semaphore async_sem with mutex

2017-06-08 Thread Binoy Jayan
The semaphore 'async_sem' is used as a simple mutex, so it should be written as one. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- This patch is part of a bigger effort to eliminate unwanted semaphores from the linux kernel. drivers/net/wireless/marve

[PATCH] bnx2x: Replace semaphore stats_lock with mutex

2016-10-20 Thread Binoy Jayan
stats_lock is used as a simple mutex, so replace it with a mutex. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- They following is a patch which removes semaphores from bnx2x. Its part of a bigger effort to eliminate all semaphores from the linux kernel. drivers/net