Re: [PATCH v2 02/21] usb/gadget: f_phonet: remove unused preprocessor conditional

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

 



On Fri, Jul 19 2013, Andrzej Pietrasiewicz wrote:
> The compatibility layer which the USBF_PHONET_INCLUDED was a part of
> is no longer present - the USBF_PHONET_INCLUDED is not #defined by anyone
> anymore, so the ifndef is always true. Removing it.
>
> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>

Acked-by: Michal Nazarewicz <mina86@xxxxxxxxxx>

> ---
>  drivers/usb/gadget/f_phonet.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/gadget/f_phonet.c b/drivers/usb/gadget/f_phonet.c
> index 7944fb0..3575427 100644
> --- a/drivers/usb/gadget/f_phonet.c
> +++ b/drivers/usb/gadget/f_phonet.c
> @@ -488,7 +488,6 @@ static int pn_bind(struct usb_configuration *c, struct usb_function *f)
>  	struct usb_ep *ep;
>  	int status, i;
>  
> -#ifndef USBF_PHONET_INCLUDED
>  	struct f_phonet_opts *phonet_opts;
>  
>  	phonet_opts = container_of(f->fi, struct f_phonet_opts, func_inst);
> @@ -507,7 +506,6 @@ static int pn_bind(struct usb_configuration *c, struct usb_function *f)
>  			return status;
>  		phonet_opts->bound = true;
>  	}
> -#endif
>  
>  	/* Reserve interface IDs */
>  	status = usb_interface_id(c, f);
> -- 
> 1.7.0.4
>

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: mpn@xxxxxxxxxx>--------------ooO--(_)--Ooo--

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux