diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-10-21 22:05:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-29 16:20:43 -0700 |
commit | df667a1a2c6bf828c5959a0ba15bcf987a9d17fe (patch) | |
tree | 6074c93d14e6c724a6b4ecd0cb9d3ac314d3d6e3 /drivers | |
parent | f931f4f3f0e2be1a6c5278ab9488652f98ba2f9c (diff) |
mei: mei_cl_link remove duplicated check for open_handle_count
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/mei/client.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c index 0ccc22ce090..87c96e4669e 100644 --- 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; |