aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorRobert Baldyga <[email protected]>2015-09-16 12:10:55 +0200
committerFelipe Balbi <[email protected]>2015-09-27 10:54:31 -0500
commit885d22eb84a5f634e3776676e5d42f9931899d06 (patch)
tree21d85e54b837f17f3efea410b3842ba71d98d2b5 /include/linux/timerqueue.h
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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions