mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
staging: csr: remove panic at locking the mutex
when down_interruptible fail, means a signal occur, or any other failure we are panicing, and it seems that we should not panic, instead we would have done a spinlock, but currently removing the panic call. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9c2c438cee
commit
585628255a
1 changed files with 0 additions and 1 deletions
|
@ -82,7 +82,6 @@ CsrResult CsrMutexLock(CsrMutexHandle *mutexHandle)
|
|||
|
||||
if (down_interruptible(mutexHandle))
|
||||
{
|
||||
CsrPanic(CSR_TECH_FW, CSR_PANIC_FW_UNEXPECTED_VALUE, "CsrMutexLock Failed");
|
||||
return CSR_FE_RESULT_INVALID_POINTER;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue