diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-11-20 06:49:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-25 13:30:31 -0200 |
commit | d3fe22fab76ef71da78971dddab7545f5591e2d8 (patch) | |
tree | bb8822d8f7023bc436f6da995df8c20c2c67682a /drivers/media/i2c | |
parent | 9a7a848df1995f05f750b4ed491ac80a459c912f (diff) | |
download | talos-op-linux-d3fe22fab76ef71da78971dddab7545f5591e2d8.tar.gz talos-op-linux-d3fe22fab76ef71da78971dddab7545f5591e2d8.zip |
[media] firewire: Deletion of an unnecessary check before the function call "dvb_unregister_device"
The dvb_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>
Reviewed-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions