From: Rebecca Schultz Zavin Date: Fri, 1 Jul 2011 02:16:59 +0000 (-0700) Subject: gpu: ion: Remove incorrect error message X-Git-Tag: 2.1b_release~2547 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dda9e64a774f536ca8704e25ac6384f6eccc8cac;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git 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 --- diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c index 1d65d79..6805888 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; }