提交 df667a1a 编写于 作者: T Tomas Winkler 提交者: Greg Kroah-Hartman

mei: mei_cl_link remove duplicated check for open_handle_count

Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f931f4f3
......@@ -299,12 +299,6 @@ int mei_cl_link(struct mei_cl *cl, int id)
return -EMFILE;
}
if (dev->open_handle_count >= MEI_MAX_OPEN_HANDLE_COUNT) {
dev_err(&dev->pdev->dev, "open_handle_count exceded %d",
MEI_MAX_OPEN_HANDLE_COUNT);
return -ENOENT;
}
dev->open_handle_count++;
cl->host_client_id = id;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册