From: Sandhya Bankar Date: Sun, 21 Feb 2016 05:02:05 +0000 (+0530) Subject: Staging: most: Do not print message if kzalloc() failed. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e8b9fe0602a25e37806e7b92408970da460b0e2;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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; }