iamthif_mtu doesn't have default value anymore it
is always supplied by the ME firmware

Signed-off-by: Tomas Winkler <[email protected]>
---
 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 ce10224..2bb224f 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)
                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);
-- 
1.7.4.4

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to