diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2012-10-30 10:38:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-05 09:56:51 +0100 |
commit | 16d6c35cfbed79472c8e2ae2df5b4935c2ac588b (patch) | |
tree | 232626ee8d634435ae04b11ed7828076b5988280 | |
parent | 7b746b16909444af2d207b010b89885591ea54d0 (diff) | |
download | lwn-16d6c35cfbed79472c8e2ae2df5b4935c2ac588b.tar.gz lwn-16d6c35cfbed79472c8e2ae2df5b4935c2ac588b.zip |
USB: io_edgeport: remove unused variable
The stable commit 12ddc74e8e25107eda81aceb74e3311c1480b381
("USB: io_edgeport: fix port-data memory leak") left one variable
unused:
drivers/usb/serial/io_edgeport.c: In function 'edge_release':
drivers/usb/serial/io_edgeport.c:3155:6: warning: unused variable 'i' [-Wunused-variable]
Remove this unused variable.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/serial/io_edgeport.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index dca27a5269f7..6c22679aa776 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c @@ -3152,7 +3152,6 @@ static void edge_disconnect(struct usb_serial *serial) static void edge_release(struct usb_serial *serial) { struct edgeport_serial *edge_serial = usb_get_serial_data(serial); - int i; dbg("%s", __func__); |