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

Commit 8a695524 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Amit Pundir
Browse files

usb: gadget: f_accessory: remove unused acc_bind_config function



The Android Accessory function driver has a function without any callers,
resulting in a harmless build warning:

drivers/usb/gadget/function/f_accessory.c:1182:12: warning: 'acc_bind_config' defined but not used [-Wunused-function]

Removing the function and associated code gets rid of the warning
and has no other effect.

Fixes: d588b95d ("usb: gadget: accessory: Add Android Accessory function")
Cc: Anson Jacob <ansonjacob.aj@gmail.com>
Cc: Badhri Jagan Sridharan <Badhri@google.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent e3dc192a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment