[PATCH 1/7] staging: most: cdev.c: remove unnecessary pr_info
Chaehyun Lim
chaehyun.lim at gmail.com
Thu Aug 6 01:20:11 UTC 2015
Remove unnecessary pr_info found by checkpatch.pl.
WARNING: Possible unnecessary 'out of memory' message
Signed-off-by: Chaehyun Lim <chaehyun.lim at gmail.com>
---
drivers/staging/most/aim-cdev/cdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/most/aim-cdev/cdev.c b/drivers/staging/most/aim-cdev/cdev.c
index 252a17c..0cde97d 100644
--- a/drivers/staging/most/aim-cdev/cdev.c
+++ b/drivers/staging/most/aim-cdev/cdev.c
@@ -413,7 +413,6 @@ 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;
}
--
1.9.1
More information about the devel
mailing list