diff options
author | Markus Elfring | 2015-02-02 13:20:23 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2015-02-02 16:34:46 +0100 |
commit | a1408379ba9d87d66691835c7cdc2645793e311a (patch) | |
tree | dd12f993e69c704bdcf22811797dd079de1b3895 /security | |
parent | [media] media: ti-vpe: Use mem-to-mem ioctl helpers (diff) | |
download | kernel-qcow2-linux-a1408379ba9d87d66691835c7cdc2645793e311a.tar.gz kernel-qcow2-linux-a1408379ba9d87d66691835c7cdc2645793e311a.tar.xz kernel-qcow2-linux-a1408379ba9d87d66691835c7cdc2645793e311a.zip |
[media] staging: bcm2048: Delete an unnecessary check before the function call "video_unregister_device"
The video_unregister_device() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions