USB: Serial: omninet: Fix compiler warning.
[firefly-linux-kernel-4.4.55.git] / drivers / usb / serial / omninet.c
index 4803b5ec19ba3107bbc9066c232873b5999f7c3b..6def58b79382f97511929b2c3fc8e386c71ffa51 100644 (file)
@@ -162,7 +162,6 @@ static void omninet_read_bulk_callback(struct urb *urb)
        struct omninet_header   *header = (struct omninet_header *) &data[0];
        int status = urb->status;
        int result;
-       int i;
 
        if (status) {
                dev_dbg(&port->dev, "%s - nonzero read bulk status received: %d\n",