Skip to content

Commit

Permalink
staging/mei: remove outdated comment about setting iamthif_mtu
Browse files Browse the repository at this point in the history
iamthif_mtu doesn't have default value anymore it
is always supplied by the ME firmware

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Dec 14, 2011
1 parent e0ec8a6 commit c9667bf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions drivers/staging/mei/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,15 +591,10 @@ void mei_host_init_iamthif(struct mei_device *dev)
return;
}

/* Do not render the system unusable when iamthif_mtu is not equal to
the value received from ME.
Assign iamthif_mtu to the value received from ME in order to solve the
hardware macro incompatibility. */
/* Assign iamthif_mtu to the value received from ME */

dev_dbg(&dev->pdev->dev, "[DEFAULT] IAMTHIF = %d\n", dev->iamthif_mtu);
dev->iamthif_mtu = dev->me_clients[i].props.max_msg_length;
dev_dbg(&dev->pdev->dev,
"IAMTHIF = %d\n",
dev_dbg(&dev->pdev->dev, "IAMTHIF_MTU = %d\n",
dev->me_clients[i].props.max_msg_length);

kfree(dev->iamthif_msg_buf);
Expand Down

0 comments on commit c9667bf

Please sign in to comment.