usb: remove USB_SCD_ATTRIBUTES macro

USB_SCD_ATTRIBUTES is a configuration dependent macro
that does not map any part of the spec and does not
belong to usb_ch9 header.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2021-11-03 14:39:01 +01:00 committed by Carles Cufí
commit 14c28c45f1
3 changed files with 10 additions and 7 deletions

View file

@ -220,11 +220,6 @@ struct usb_association_descriptor {
#define USB_SCD_RESERVED BIT(7)
#define USB_SCD_SELF_POWERED BIT(6)
#define USB_SCD_REMOTE_WAKEUP BIT(5)
#define USB_SCD_ATTRIBUTES (USB_SCD_RESERVED | \
COND_CODE_1(CONFIG_USB_SELF_POWERED, \
(USB_SCD_SELF_POWERED), (0)) | \
COND_CODE_1(CONFIG_USB_DEVICE_REMOTE_WAKEUP, \
(USB_SCD_REMOTE_WAKEUP), (0)))
/** USB Defined Base Class Codes from https://www.usb.org/defined-class-codes */
#define USB_BCC_AUDIO 0x01