mei: amthif: fix checkpatch error

ERROR: else should follow close brace '}'
+	}
+	else {

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tomas Winkler 2014-03-16 14:35:57 +02:00 committed by Greg Kroah-Hartman
parent 1adc167433
commit 34e267d0f4

View file

@ -247,8 +247,7 @@ int mei_amthif_read(struct mei_device *dev, struct file *file,
if (copy_to_user(ubuf, cb->response_buffer.data + *offset, length)) {
dev_dbg(&dev->pdev->dev, "failed to copy data to userland\n");
rets = -EFAULT;
}
else {
} else {
rets = length;
if ((*offset + length) < cb->buf_idx) {
*offset += length;