Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0f4765a authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

USB: opticon: remove redundant initialisation



Remove redundant zero-initialisation of outstanding-urbs field in
kzalloced struct.

Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3157fad9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;