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

Commit 96edc98e authored by Andrzej Pietrasiewicz's avatar Andrzej Pietrasiewicz Committed by Felipe Balbi
Browse files

usb: gadget: f_phonet: remove unused preprocessor conditional



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: default avatarAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 8abc6fa1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);