summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorRebecca Schultz Zavin <rebecca@android.com>2011-06-30 19:16:59 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:38:44 -0800
commitbddf7ce9361d534ba7e8900c7f302bd27f1cac2d (patch)
tree2e0bb3e1a46633446209f2e5ee7a9af5c5595249 /drivers/gpu
parent1ca25f6e28cbb47452c8423976d15a42a57176c4 (diff)
gpu: ion: Remove incorrect error message
The function name is wrong here, and this function may sometimes be called to see if a value passed from userspace is an ion handle. Since it's not really an error when it fails, remove the log message. Change-Id: I7bee0e7ffb72b4c4768774a3586f97e306700c21 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/ion/ion.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c
index 1d65d796dc76..680588841ca1 100644
--- a/drivers/gpu/ion/ion.c
+++ b/drivers/gpu/ion/ion.c
@@ -376,8 +376,6 @@ int ion_phys(struct ion_client *client, struct ion_handle *handle,
mutex_lock(&client->lock);
if (!ion_handle_validate(client, handle)) {
- pr_err("%s: invalid handle passed to map_kernel.\n",
- __func__);
mutex_unlock(&client->lock);
return -EINVAL;
}