diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 10:27:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 10:27:50 -0400 |
commit | d3d6c328e5030da560dcbaaa9ced063d5ba93642 (patch) | |
tree | c3b54b8ef590e5356198be34c27ab5d4f5dd6057 /drivers/usb | |
parent | 07764958947c381ef095fc69503c1ef1775f316e (diff) |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/omninet.c | 1 |
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) | |||
162 | struct omninet_header *header = (struct omninet_header *) &data[0]; | 162 | struct omninet_header *header = (struct omninet_header *) &data[0]; |
163 | int status = urb->status; | 163 | int status = urb->status; |
164 | int result; | 164 | int result; |
165 | int i; | ||
166 | 165 | ||
167 | if (status) { | 166 | if (status) { |
168 | dev_dbg(&port->dev, "%s - nonzero read bulk status received: %d\n", | 167 | dev_dbg(&port->dev, "%s - nonzero read bulk status received: %d\n", |