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

Commit 4395d0ba authored by Will Deacon's avatar Will Deacon Committed by Giuliano Procida
Browse files

ANDROID: usb: f_accessory: Remove stale comments



Neither acc_gadget_bind() nor acc_gadget_register_driver() exist, so
remove the stale comments that refer to them.

Bug: 173789633
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Change-Id: If396ba3bcac3ca59c48e5a5faa0a8520534ed625
Signed-off-by: default avatarGiuliano Procida <gprocida@google.com>
parent 3973b9be
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -199,7 +199,6 @@ static struct usb_gadget_strings *acc_strings[] = {
	NULL,
};

/* temporary variable used between acc_open() and acc_gadget_bind() */
static struct acc_dev *_acc_dev;

struct acc_instance {
@@ -1224,7 +1223,6 @@ static int acc_setup(void)
	INIT_DELAYED_WORK(&dev->start_work, acc_start_work);
	INIT_WORK(&dev->hid_work, acc_hid_work);

	/* _acc_dev must be set before calling usb_gadget_register_driver */
	_acc_dev = dev;

	ret = misc_register(&acc_device);