diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-09-29 09:31:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 11:56:01 -0400 |
commit | 2628118b60b9d5bb4c580a1d5973a8e1d31a50f2 (patch) | |
tree | dadb0689a269a4288e6bd78394beb8f194bc9d62 /drivers/misc/mei/main.c | |
parent | 55e43d1fc0fb8dd04ae8fc067994f00edae34941 (diff) |
mei: kill error message for allocation failure
There is no need to log memory allocation errors as
this is already done by the memory subsystem.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/main.c')
-rw-r--r-- | drivers/misc/mei/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index d60621ef5621..244fb6bf7463 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c | |||
@@ -377,7 +377,6 @@ static ssize_t mei_write(struct file *file, const char __user *ubuf, | |||
377 | 377 | ||
378 | write_cb = mei_io_cb_init(cl, file); | 378 | write_cb = mei_io_cb_init(cl, file); |
379 | if (!write_cb) { | 379 | if (!write_cb) { |
380 | dev_err(&dev->pdev->dev, "write cb allocation failed\n"); | ||
381 | rets = -ENOMEM; | 380 | rets = -ENOMEM; |
382 | goto out; | 381 | goto out; |
383 | } | 382 | } |