Staging: most: Do not print message if kzalloc() failed.
Do not print message if kzalloc() failed. kzalloc() has its own messages. So no need to add extra one. Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
87f35f02a9
commit
3e8b9fe060
|
@ -1259,7 +1259,6 @@ static int arm_mbo_chain(struct most_c_obj *c, int dir,
|
|||
for (i = 0; i < c->cfg.num_buffers; i++) {
|
||||
mbo = kzalloc(sizeof(*mbo), GFP_KERNEL);
|
||||
if (!mbo) {
|
||||
pr_info("WARN: Allocation of MBO failed.\n");
|
||||
retval = i;
|
||||
goto _exit;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue