[media] DaVinci-VPFE-Capture: Delete an unnecessary return statement in vpfe_unregist...
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 13:10:54 +0000 (10:10 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:56:36 +0000 (12:56 -0200)
The script "checkpatch.pl" pointed information out like the following.

WARNING: void function return statements are not generally useful

Thus remove such a statement here.

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>
drivers/media/platform/davinci/vpfe_capture.c

index 1acca83426ea002442fcce943fb9bc9652fe4db9..71caebf125f1f0646e47cbeea9887a94ea14f421 100644 (file)
@@ -281,7 +281,6 @@ void vpfe_unregister_ccdc_device(struct ccdc_hw_device *dev)
        mutex_lock(&ccdc_lock);
        ccdc_dev = NULL;
        mutex_unlock(&ccdc_lock);
-       return;
 }
 EXPORT_SYMBOL(vpfe_unregister_ccdc_device);