Browse Source

USB: Serial: omninet: Fix compiler warning.

I forgot to remove an unused variable.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Greg Kroah-Hartman 12 years ago
parent
commit
d3d6c328e5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/usb/serial/omninet.c

+ 0 - 1
drivers/usb/serial/omninet.c

@@ -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",