Re: [PATCH 4/6] usb: gadget: storage_common: Drop #ifdefs used for the sake of FSG.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 31, 2012 at 09:32:37PM +0100, Michal Nazarewicz wrote:
> diff --git a/drivers/usb/gadget/storage_common.c b/drivers/usb/gadget/storage_common.c
> index b381e0c..1b5bc69 100644
> --- a/drivers/usb/gadget/storage_common.c
> +++ b/drivers/usb/gadget/storage_common.c

>  static __maybe_unused struct usb_ext_cap_descriptor fsg_ext_cap_desc = {
>  	.bLength =		USB_DT_USB_EXT_CAP_SIZE,
>  	.bDescriptorType =	USB_DT_DEVICE_CAPABILITY,
> @@ -535,18 +418,11 @@ static __maybe_unused struct usb_bos_descriptor fsg_bos_desc = {
>  };

Those two __maybe_unused pieces remind me of two descriptors which were only
used by FSG because in the mass storage case they were served by composite.
Could you please remove them as well?

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux