[3/4,media] media-device: get rid of a leftover comment
diff mbox

Message ID 90a95b96574f87c87a7a101926aa8c4cd5f74139.1458760750.git.mchehab@osg.samsung.com
State New
Headers show

Commit Message

Mauro Carvalho Chehab March 23, 2016, 7:27 p.m. UTC
The comment there is not pertinent.

Fixes: 44ff16d0b7cc ("media-device: use kref for media_device instance")
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/media/media-device.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Laurent Pinchart March 24, 2016, 8:41 a.m. UTC | #1
On Wednesday 23 Mar 2016 16:27:45 Mauro Carvalho Chehab wrote:
> The comment there is not pertinent.
> 
> Fixes: 44ff16d0b7cc ("media-device: use kref for media_device instance")
> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
> Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/media/media-device.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c
> index 4b5a2ab17b7e..10cc4766de10 100644
> --- a/drivers/media/media-device.c
> +++ b/drivers/media/media-device.c
> @@ -720,7 +720,6 @@ int __must_check __media_device_register(struct
> media_device *mdev, {
>  	int ret;
> 
> -	/* Check if mdev was ever registered at all */
>  	mutex_lock(&mdev->graph_mutex);
> 
>  	/* Register the device node. */

Patch
diff mbox

diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c
index 4b5a2ab17b7e..10cc4766de10 100644
--- a/drivers/media/media-device.c
+++ b/drivers/media/media-device.c
@@ -720,7 +720,6 @@  int __must_check __media_device_register(struct media_device *mdev,
 {
 	int ret;
 
-	/* Check if mdev was ever registered at all */
 	mutex_lock(&mdev->graph_mutex);
 
 	/* Register the device node. */