summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/function/uvc_v4l2.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-01-04 21:05:59 +0100
committerFelipe Balbi <balbi@kernel.org>2016-03-04 15:14:32 +0200
commitae76e13477d8de0065cddbb6714e6b027562eaec (patch)
tree052b0a8c61aec73c5c251f5c7a0ab70892018ce2 /drivers/usb/gadget/function/uvc_v4l2.c
parentb3591f67b9f9607fea5d854f9d481f44696d8ddc (diff)
usb: f_fs: refactor ffs_epfile_io
Eliminate one of the return paths by using a ‘goto error_mutex’ and rearrange some if-bodies which results in reduction of the indention level and thus hopefully makes the function easier to read and reason about. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/gadget/function/uvc_v4l2.c')
0 files changed, 0 insertions, 0 deletions