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

Commit 58d90c18 authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Remove unused variables from UsbHostManager." into lmp-dev

parents 9802f0d0 f5e56d41
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -21,7 +21,6 @@
#include "JNIHelp.h"
#include "JNIHelp.h"
#include "android_runtime/AndroidRuntime.h"
#include "android_runtime/AndroidRuntime.h"
#include "android_runtime/Log.h"
#include "android_runtime/Log.h"
#include "utils/Vector.h"


#include <usbhost/usbhost.h>
#include <usbhost/usbhost.h>


@@ -68,8 +67,6 @@ static int usb_device_added(const char *devname, void* client_data) {


    JNIEnv* env = AndroidRuntime::getJNIEnv();
    JNIEnv* env = AndroidRuntime::getJNIEnv();
    jobject thiz = (jobject)client_data;
    jobject thiz = (jobject)client_data;
    Vector<int> interfaceValues;
    Vector<int> endpointValues;
    const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device);
    const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device);


    char *manufacturer = usb_device_get_manufacturer_name(device);
    char *manufacturer = usb_device_get_manufacturer_name(device);