mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
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: Will Deacon <willdeacon@google.com> Change-Id: If396ba3bcac3ca59c48e5a5faa0a8520534ed625 Signed-off-by: Giuliano Procida <gprocida@google.com>
This commit is contained in:
committed by
Giuliano Procida
parent
720da4ffe7
commit
dbf07d7235
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user