mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
dlm: Delete an error message for a failed memory allocation in dlm_recover_waiters_pre()
Omit an extra message for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: David Teigland <[email protected]>
This commit is contained in:
parent
102e67d4e3
commit
0d37eca752
1 changed files with 1 additions and 3 deletions
|
|
@ -5120,10 +5120,8 @@ void dlm_recover_waiters_pre(struct dlm_ls *ls)
|
|||
int dir_nodeid;
|
||||
|
||||
ms_stub = kmalloc(sizeof(*ms_stub), GFP_KERNEL);
|
||||
if (!ms_stub) {
|
||||
log_error(ls, "dlm_recover_waiters_pre no mem");
|
||||
if (!ms_stub)
|
||||
return;
|
||||
}
|
||||
|
||||
mutex_lock(&ls->ls_waiters_mutex);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue