mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 11:54:14 -04: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:
parent
a917582672
commit
4df304a4df
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue