git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704b3f4
)
[media] au0828: Delete unnecessary checks before the function call "video_unregister_...
author
Markus Elfring
<elfring@users.sourceforge.net>
Tue, 3 Feb 2015 18:00:25 +0000
(15:00 -0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Mon, 2 Mar 2015 17:53:46 +0000
(14:53 -0300)
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>
No differences found