diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-11-18 07:23:25 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 16:33:54 -0500 |
commit | b0f4765ae0f095bdc3d090937e72a198dee5cd39 (patch) | |
tree | 614b03ed963c6e09d877d3e8f332452235577f8e /drivers/usb/serial | |
parent | 3157fad9ad6dbc97ee0ba2d6ada256370841c77a (diff) |
USB: opticon: remove redundant initialisation
Remove redundant zero-initialisation of outstanding-urbs field in
kzalloced struct.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/opticon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/opticon.c b/drivers/usb/serial/opticon.c index f81ffb019314..2fc3dfc57f48 100644 --- a/drivers/usb/serial/opticon.c +++ b/drivers/usb/serial/opticon.c | |||
@@ -486,7 +486,6 @@ static int opticon_startup(struct usb_serial *serial) | |||
486 | spin_lock_init(&priv->lock); | 486 | spin_lock_init(&priv->lock); |
487 | priv->serial = serial; | 487 | priv->serial = serial; |
488 | priv->port = serial->port[0]; | 488 | priv->port = serial->port[0]; |
489 | priv->outstanding_urbs = 0; /* Init the outstanding urbs */ | ||
490 | 489 | ||
491 | /* find our bulk endpoint */ | 490 | /* find our bulk endpoint */ |
492 | intf = serial->interface->altsetting; | 491 | intf = serial->interface->altsetting; |