diff options
-rw-r--r-- | drivers/misc/mei/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 7404584e65e1..9aa3b78067d3 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c | |||
@@ -165,10 +165,7 @@ static int mei_release(struct inode *inode, struct file *file) | |||
165 | 165 | ||
166 | file->private_data = NULL; | 166 | file->private_data = NULL; |
167 | 167 | ||
168 | if (cb) { | 168 | mei_io_cb_free(cb); |
169 | mei_io_cb_free(cb); | ||
170 | cb = NULL; | ||
171 | } | ||
172 | 169 | ||
173 | kfree(cl); | 170 | kfree(cl); |
174 | out: | 171 | out: |