diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2011-12-13 16:39:33 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-13 19:22:18 -0500 |
commit | c9667bff9d191db5775d383d9b5efecc26eccae1 (patch) | |
tree | f5479480ce9b6471508b706f087c8951fb747aec | |
parent | e0ec8a67089762b29071e879388986ab7370d330 (diff) |
staging/mei: remove outdated comment about setting iamthif_mtu
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>
-rw-r--r-- | drivers/staging/mei/init.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/staging/mei/init.c b/drivers/staging/mei/init.c index ce102248e3bb..2bb224fb0956 100644 --- a/drivers/staging/mei/init.c +++ b/drivers/staging/mei/init.c | |||
@@ -591,15 +591,10 @@ void mei_host_init_iamthif(struct mei_device *dev) | |||
591 | return; | 591 | return; |
592 | } | 592 | } |
593 | 593 | ||
594 | /* Do not render the system unusable when iamthif_mtu is not equal to | 594 | /* Assign iamthif_mtu to the value received from ME */ |
595 | the value received from ME. | ||
596 | Assign iamthif_mtu to the value received from ME in order to solve the | ||
597 | hardware macro incompatibility. */ | ||
598 | 595 | ||
599 | dev_dbg(&dev->pdev->dev, "[DEFAULT] IAMTHIF = %d\n", dev->iamthif_mtu); | ||
600 | dev->iamthif_mtu = dev->me_clients[i].props.max_msg_length; | 596 | dev->iamthif_mtu = dev->me_clients[i].props.max_msg_length; |
601 | dev_dbg(&dev->pdev->dev, | 597 | dev_dbg(&dev->pdev->dev, "IAMTHIF_MTU = %d\n", |
602 | "IAMTHIF = %d\n", | ||
603 | dev->me_clients[i].props.max_msg_length); | 598 | dev->me_clients[i].props.max_msg_length); |
604 | 599 | ||
605 | kfree(dev->iamthif_msg_buf); | 600 | kfree(dev->iamthif_msg_buf); |