diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c index f11a566f9a77..1c25940a1fd1 100644 --- a/drivers/gpu/ion/ion.c +++ b/drivers/gpu/ion/ion.c @@ -1011,13 +1011,9 @@ static int ion_open(struct inode *inode, struct file *file) struct ion_client *client; pr_debug("%s: %d\n", __func__, __LINE__); - client = ion_client_lookup(dev, current->group_leader); - if (IS_ERR_OR_NULL(client)) { - /* XXX: consider replacing "user" with cmdline */ - client = ion_client_create(dev, -1, "user"); - if (IS_ERR_OR_NULL(client)) - return PTR_ERR(client); - } + client = ion_client_create(dev, -1, "user"); + if (IS_ERR_OR_NULL(client)) + return PTR_ERR(client); file->private_data = client; return 0;