Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35c1a620 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Revert "Get fastboot working on OS X"

This reverts commit 81c24f6f.

Change-Id: If2f7220ff00582c3e1b38917352ab961ded48642
parent 81c24f6f
Loading
Loading
Loading
Loading
+0 −11
Original line number Original line Diff line number Diff line
@@ -293,13 +293,6 @@ static int try_device(io_service_t device, usb_handle *handle) {


    // So, we have a device, finally. Grab its vitals.
    // So, we have a device, finally. Grab its vitals.



    kr = (*dev)->USBDeviceOpen(dev);
    if (kr != 0) {
        WARN("USBDeviceOpen");
        goto out;
    }

    kr = (*dev)->GetDeviceVendor(dev, &handle->info.dev_vendor);
    kr = (*dev)->GetDeviceVendor(dev, &handle->info.dev_vendor);
    if (kr != 0) {
    if (kr != 0) {
        ERR("GetDeviceVendor");
        ERR("GetDeviceVendor");
@@ -372,16 +365,12 @@ static int try_device(io_service_t device, usb_handle *handle) {
        goto error;
        goto error;
    }
    }


    out:

    (*dev)->USBDeviceClose(dev);
    (*dev)->Release(dev);
    (*dev)->Release(dev);
    return 0;
    return 0;


    error:
    error:


    if (dev != NULL) {
    if (dev != NULL) {
        (*dev)->USBDeviceClose(dev);
        (*dev)->Release(dev);
        (*dev)->Release(dev);
    }
    }