]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
USB: Serial: omninet: Fix compiler warning.
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2012 14:27:50 +0000 (15:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2012 14:27:50 +0000 (15:27 +0100)
I forgot to remove an unused variable.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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",