projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f931f4f
)
mei: mei_cl_link remove duplicated check for open_handle_count
author
Tomas Winkler
<tomas.winkler@intel.com>
Mon, 21 Oct 2013 19:05:41 +0000
(22:05 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 29 Oct 2013 23:20:43 +0000
(16:20 -0700)
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/client.c
patch
|
blob
|
history
diff --git
a/drivers/misc/mei/client.c
b/drivers/misc/mei/client.c
index 0ccc22ce09045b77f6b5a413867653f29382c4a3..87c96e4669e2c50fd9bb5889c813f3a35ce64b1f 100644
(file)
--- a/
drivers/misc/mei/client.c
+++ b/
drivers/misc/mei/client.c
@@
-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;