From: Markus Elfring Date: Wed, 12 Oct 2016 13:10:54 +0000 (-0300) Subject: [media] DaVinci-VPFE-Capture: Delete an unnecessary return statement in vpfe_unregist... X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=96ca88423605116c041b5e5a6ef3af685402afb1;p=linux-beck.git [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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/davinci/vpfe_capture.c b/drivers/media/platform/davinci/vpfe_capture.c index 1acca83426ea..71caebf125f1 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);