The comment there is not pertinent.
Fixes: 44ff16d0b7cc ("media-device: use kref for media_device instance")
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Suggested-by: Laurent Pinchart <[email protected]>
---
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. */
--
2.5.5
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html