summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 15:27:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 15:27:50 +0100
commitd3d6c328e5030da560dcbaaa9ced063d5ba93642 (patch)
treec3b54b8ef590e5356198be34c27ab5d4f5dd6057
parent07764958947c381ef095fc69503c1ef1775f316e (diff)
downloadblackbird-op-linux-d3d6c328e5030da560dcbaaa9ced063d5ba93642.tar.gz
blackbird-op-linux-d3d6c328e5030da560dcbaaa9ced063d5ba93642.zip
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>
-rw-r--r--drivers/usb/serial/omninet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c
index 4803b5ec19ba..6def58b79382 100644
--- a/drivers/usb/serial/omninet.c
+++ b/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",
OpenPOWER on IntegriCloud