Message ID | 2ca4b5f1-2b2f-19f4-d0ce-95586bb9d5cd@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/input/touchscreen/cyttsp4_core.c index 727c3232517c..f0bf3cc20e9d 100644 --- a/drivers/input/touchscreen/cyttsp4_core.c +++ b/drivers/input/touchscreen/cyttsp4_core.c @@ -2037,14 +2037,12 @@ struct cyttsp4 *cyttsp4_probe(const struct cyttsp4_bus_ops *ops, cd = kzalloc(sizeof(*cd), GFP_KERNEL); if (!cd) { - dev_err(dev, "%s: Error, kzalloc\n", __func__); rc = -ENOMEM; goto error_alloc_data; } cd->xfer_buf = kzalloc(xfer_buf_size, GFP_KERNEL); if (!cd->xfer_buf) { - dev_err(dev, "%s: Error, kzalloc\n", __func__); rc = -ENOMEM; goto error_free_cd; }