summaryrefslogtreecommitdiff
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-02-29 13:16:39 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-13 22:43:27 +0300
commit54ace1cfd4358fd11112f17cc711eea234d5ab9e (patch)
tree08518c4ee0bf6460ed31881df5c2aeccb387a7b8 /drivers/media/usb
parent9765a32cd802709d152a0d73d0cbfd07c9f49808 (diff)
downloadlinux-54ace1cfd4358fd11112f17cc711eea234d5ab9e.tar.xz
[media] v4l2-ioctl: simplify code
Instead of a big if at the beginning, just check if g_selection == NULL and call the cropcap op immediately and return the result. No functional changes in this patch. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions