diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-02-21 10:32:05 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-25 22:34:19 -0800 |
commit | 3e8b9fe0602a25e37806e7b92408970da460b0e2 (patch) | |
tree | 81702923acf0da3caf9055a499bacb8c19e2c24a /drivers | |
parent | 87f35f02a9193b83657d60695bf981d1a2255fda (diff) | |
download | linux-3e8b9fe0602a25e37806e7b92408970da460b0e2.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/most/mostcore/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |