diff options
author | Sandhya Bankar | 2016-02-21 06:02:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-02-26 07:34:19 +0100 |
commit | 3e8b9fe0602a25e37806e7b92408970da460b0e2 (patch) | |
tree | 81702923acf0da3caf9055a499bacb8c19e2c24a /drivers/staging/most | |
parent | staging: most: compress return logic into one line (diff) | |
download | kernel-qcow2-linux-3e8b9fe0602a25e37806e7b92408970da460b0e2.tar.gz kernel-qcow2-linux-3e8b9fe0602a25e37806e7b92408970da460b0e2.tar.xz kernel-qcow2-linux-3e8b9fe0602a25e37806e7b92408970da460b0e2.zip |
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/staging/most')
-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; } |