You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f931f4f3f0
commit
df667a1a2c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user