From: Sudip Mukherjee Date: Tue, 18 Aug 2015 15:18:23 +0000 (+0530) Subject: staging: most: out of memory error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c704dfbe452ef1857e83d29bac88e35bdb2bb507;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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; }