diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-08-18 20:48:23 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:31 -0700 |
commit | c704dfbe452ef1857e83d29bac88e35bdb2bb507 (patch) | |
tree | ef2534e5ed9c4772145d3dde17c0f85a158d450a /drivers/staging/most/aim-cdev | |
parent | ba857e0ff08b0ba7922cb58d0870a5a207eadc5e (diff) | |
download | linux-c704dfbe452ef1857e83d29bac88e35bdb2bb507.tar.bz2 |
staging: most: out of memory error
If kzalloc fails it will print lots of debugging information in the log,
no need to have another in the code.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/aim-cdev')
-rw-r--r-- | drivers/staging/most/aim-cdev/cdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/most/aim-cdev/cdev.c b/drivers/staging/most/aim-cdev/cdev.c index a5e8993f55e9..2bc877c5c84d 100644 --- a/drivers/staging/most/aim-cdev/cdev.c +++ b/drivers/staging/most/aim-cdev/cdev.c @@ -412,7 +412,6 @@ static int aim_probe(struct most_interface *iface, int channel_id, channel = kzalloc(sizeof(*channel), GFP_KERNEL); if (!channel) { - pr_info("failed to alloc channel object\n"); retval = -ENOMEM; goto error_alloc_channel; } |