commit | c6e4b8c1d3a81a2611e0a045f1c1e34ad3fb092e | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Tue Jul 19 16:24:26 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Aug 24 09:41:59 2016 -0300 |
tree | 3fd995d1716d655329850f1225d46a7e4271034b | |
parent | fe094dad25ec28585a591db823c768af2b2be1f4 [diff] |
[media] tw686x: 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@s-opensource.com>