summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-10-12 10:10:54 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 12:56:36 -0200
commit96ca88423605116c041b5e5a6ef3af685402afb1 (patch)
treefa8e84e69a0bd5f9d5a4cb7fb9719ecc15bc358f /drivers/media
parentb899065640fc0c8b02d762bd5869c0afd3120c64 (diff)
downloadop-kernel-dev-96ca88423605116c041b5e5a6ef3af685402afb1.zip
op-kernel-dev-96ca88423605116c041b5e5a6ef3af685402afb1.tar.gz
[media] DaVinci-VPFE-Capture: Delete an unnecessary return statement in vpfe_unregister_ccdc_device()
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/davinci/vpfe_capture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/davinci/vpfe_capture.c b/drivers/media/platform/davinci/vpfe_capture.c
index 1acca83..71caebf 100644
--- a/drivers/media/platform/davinci/vpfe_capture.c
+++ b/drivers/media/platform/davinci/vpfe_capture.c
@@ -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);
OpenPOWER on IntegriCloud