mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 12:24:37 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3157fad9ad
commit
b0f4765ae0
@@ -486,7 +486,6 @@ static int opticon_startup(struct usb_serial *serial)
|
||||
spin_lock_init(&priv->lock);
|
||||
priv->serial = serial;
|
||||
priv->port = serial->port[0];
|
||||
priv->outstanding_urbs = 0; /* Init the outstanding urbs */
|
||||
|
||||
/* find our bulk endpoint */
|
||||
intf = serial->interface->altsetting;
|
||||
|
||||
Reference in New Issue
Block a user