diff options
author | Oliver Neukum <oliver@neukum.org> | 2009-06-30 03:44:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-12 18:16:38 -0400 |
commit | 87ea8c887905d8b13ae90b537117592ed027632a (patch) | |
tree | b8e241b484545165cc2c96530272adcc7fcdfaac | |
parent | 71f9f6cc9eef47fddc05f34b3d32677ab2e0f1fa (diff) |
USB: fix uninitialised variable in ti_do_download
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: stable <stable@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/serial/ti_usb_3410_5052.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index 35d8852eeff7..14971a926990 100644 --- a/drivers/usb/serial/ti_usb_3410_5052.c +++ b/drivers/usb/serial/ti_usb_3410_5052.c | |||
@@ -1657,7 +1657,7 @@ static int ti_do_download(struct usb_device *dev, int pipe, | |||
1657 | u8 cs = 0; | 1657 | u8 cs = 0; |
1658 | int done; | 1658 | int done; |
1659 | struct ti_firmware_header *header; | 1659 | struct ti_firmware_header *header; |
1660 | int status; | 1660 | int status = 0; |
1661 | int len; | 1661 | int len; |
1662 | 1662 | ||
1663 | for (pos = sizeof(struct ti_firmware_header); pos < size; pos++) | 1663 | for (pos = sizeof(struct ti_firmware_header); pos < size; pos++) |