summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2024-02-14 02:28:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-17 19:08:30 +0300
commit58da4e57cb2980c9405575c8de937ebe4ed02202 (patch)
treeb32754bea26743bcb2bbd150df7ab058db3960f2 /tools/perf/scripts/python
parent5e7ea65daf13a95a6cc63d1377e4c500e4e1340f (diff)
downloadlinux-58da4e57cb2980c9405575c8de937ebe4ed02202.tar.xz
usb: gadget: uvc: rework complete handler
We refactor the complete handler since the return path with the locking are really difficult to follow. Just simplify the function by switching the logic return it on an disabled endpoint early. This way the second level of indentation can be removed. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Link: https://lore.kernel.org/r/20240214-uvc-gadget-cleanup-v1-3-de6d78780459@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions