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>
This commit is contained in:
Greg Kroah-Hartman 2012-09-18 15:27:50 +01:00
parent 0776495894
commit d3d6c328e5

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