Message ID | 90a95b96574f87c87a7a101926aa8c4cd5f74139.1458760750.git.mchehab@osg.samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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. */
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. */
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(-)