diff options
author | Oliver Neukum <oliver@neukum.org> | 2009-06-30 09:44:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-30 14:39:16 -0700 |
commit | a2b3f371563dbbe2226a687d0cfb83a31bca9479 (patch) | |
tree | 1f7005bca85cdde35e6bf206adf2d85a7ef2fefa /drivers/usb | |
parent | d988075d21145ad3bcded6c0721cd7da3ca352ea (diff) |
USB: fix uninitialised variable in ti_do_download
commit 87ea8c887905d8b13ae90b537117592ed027632a upstream.
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-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 20a64554f75..1b28caef5c0 100644 --- a/drivers/usb/serial/ti_usb_3410_5052.c +++ b/drivers/usb/serial/ti_usb_3410_5052.c @@ -1659,7 +1659,7 @@ static int ti_do_download(struct usb_device *dev, int pipe, u8 cs = 0; int done; struct ti_firmware_header *header; - int status; + int status = 0; int len; for (pos = sizeof(struct ti_firmware_header); pos < size; pos++) |