From 3e8b9fe0602a25e37806e7b92408970da460b0e2 Mon Sep 17 00:00:00 2001 From: Sandhya Bankar Date: Sun, 21 Feb 2016 10:32:05 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/most/mostcore/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/most/mostcore/core.c b/drivers/staging/most/mostcore/core.c index 322ee01e1f36..7c619feb12d3 100644 --- a/drivers/staging/most/mostcore/core.c +++ b/drivers/staging/most/mostcore/core.c @@ -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; } -- 2.30.2