diff options
author | Ricardo Ribalda <ricardo.ribalda@gmail.com> | 2015-06-10 10:38:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-06 08:25:52 -0300 |
commit | 4366dfef377034e97d5b35677b7a1ebb1f1ce6dc (patch) | |
tree | b0a5595988b0578a6b1fd8eb89d85b2e12c3937f /drivers/misc/vmw_vmci | |
parent | 4a99362da734dfdcca5035dfa15b9f3708f1f8a4 (diff) | |
download | talos-obmc-linux-4366dfef377034e97d5b35677b7a1ebb1f1ce6dc.tar.gz talos-obmc-linux-4366dfef377034e97d5b35677b7a1ebb1f1ce6dc.zip |
[media] media/v4l2-ctrls: Code cleanout validate_new()
We can simplify the code removing the if().
v4l2_ctr_new sets ctrls->elems to 1 when !ctrl->is_ptr.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/misc/vmw_vmci')
0 files changed, 0 insertions, 0 deletions