diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-02-29 13:16:39 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-04-13 22:43:27 +0300 |
commit | 54ace1cfd4358fd11112f17cc711eea234d5ab9e (patch) | |
tree | 08518c4ee0bf6460ed31881df5c2aeccb387a7b8 /drivers/media/usb | |
parent | 9765a32cd802709d152a0d73d0cbfd07c9f49808 (diff) | |
download | linux-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