aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2015-09-16 06:10:55 -0400
committerFelipe Balbi <balbi@ti.com>2015-09-27 11:54:31 -0400
commit885d22eb84a5f634e3776676e5d42f9931899d06 (patch)
tree21d85e54b837f17f3efea410b3842ba71d98d2b5 /tools/perf/scripts/python
parentbbc474f7882b815e616a57adcc49c977ad53fb7f (diff)
usb: gadget: f_serial: eliminate abuse of ep->driver data
Since ep->driver_data is not used for endpoint claiming, neither for enabled/disabled state storing, we can reduce number of places where we read or modify it's value, as now it has no particular meaning for function or framework logic. In case of f_serial, ep->driver_data was used only for endpoint claiming and marking endpoints as enabled, so we can simplify code by reducing it. Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions