linux/drivers/staging/media
Markus Elfring a1408379ba [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>
2015-02-02 13:34:46 -02:00
..
bcm2048
cxd2099
davinci_vpfe
dt3155v4l
lirc
mn88472
mn88473
omap4iss
Kconfig
Makefile