OSDN Git Service

usb: dwc2: Delete unused functionality
authorGrigor Tovmasyan <Grigor.Tovmasyan@synopsys.com>
Fri, 19 Jan 2018 10:42:35 +0000 (14:42 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:42 +0000 (10:47 +0200)
commite890f1dae3ae15525f1331bcb749f2b5f4d08cd5
tree8322b2ef3a5988c740b1b3cf84f47b775f5929d7
parentabd064a19d81001412281501819622d1568309e0
usb: dwc2: Delete unused functionality

Deleted dwc2_hcd_dump_frrem() function, because it used undefined
parameters from dwc2_hsotg structure. The function body was in #ifdef
statement and was never compiled.

Also removed that parameters from dwc2_hsotg structure, which were
used only in dwc2_hcd_dump_frrem() function.

And also delete dwc2_sample_frrem macro, because without
dwc2_hcd_dump_frrem() function it's lose its purpose.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/hcd.c
drivers/usb/dwc2/hcd.h