diff --git a/drivers/media/mc/mc-device.c b/drivers/media/mc/mc-device.c index 824d89b325a6..b8176a3b76d3 100644 --- a/drivers/media/mc/mc-device.c +++ b/drivers/media/mc/mc-device.c @@ -604,8 +604,6 @@ static void __media_device_unregister_entity(struct media_entity *entity) media_gobj_destroy(&entity->graph_obj); /* invoke entity_notify callbacks to handle entity removal?? */ - - entity->graph_obj.mdev = NULL; } int __must_check media_device_register_entity(struct media_device *mdev,