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:
Sandhya Bankar 2016-02-21 10:32:05 +05:30 committed by Greg Kroah-Hartman
parent 87f35f02a9
commit 3e8b9fe060
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}