Skip to content

Commit

Permalink
usb: gadget: f_phonet: remove unused preprocessor conditional
Browse files Browse the repository at this point in the history
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@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Andrzej Pietrasiewicz authored and Felipe Balbi committed Jul 29, 2013
1 parent 8abc6fa commit 96edc98
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/usb/gadget/f_phonet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 96edc98

Please sign in to comment.