commit | 8aa9eb9059f6246b530d664f271e5c32858222ed | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Tue Feb 03 15:00:25 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Mon Mar 02 14:53:46 2015 -0300 |
tree | 271d75a4ee433c8506bcd3f21778d441f903680b | |
parent | 704b3f4c11e0b1265a41472b6b25dd9e3d205674 [diff] |
[media] au0828: Delete unnecessary checks 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>