Revert "wwan: mhi: Fix build."
authorDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 12:23:29 +0000 (13:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 12:23:29 +0000 (13:23 +0100)
This reverts commit ab996c420508761f3313c15c5f72d06ca7dc1a5b.

Only aplicable when net is merged into net-next.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/mhi_wwan_mbim.c

index f37232f..bb88c38 100644 (file)
@@ -608,7 +608,7 @@ static int mhi_mbim_probe(struct mhi_device *mhi_dev, const struct mhi_device_id
        INIT_DELAYED_WORK(&mbim->rx_refill, mhi_net_rx_refill_work);
 
        /* Start MHI channels */
-       err = mhi_prepare_for_transfer(mhi_dev, 0);
+       err = mhi_prepare_for_transfer(mhi_dev);
        if (err)
                return err;