aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-11 09:13:23 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-11 12:19:04 -0200
commitf1fd3289e8c2b99cdf5c1c4426a7d28a809159c2 (patch)
tree5224b21faa7ae7ae439f719166f4437fed04b3c6 /drivers/media
parent[media] DocBook: Move media-framework.txt contents to media-device.h (diff)
downloadlinux-dev-f1fd3289e8c2b99cdf5c1c4426a7d28a809159c2.tar.xz
linux-dev-f1fd3289e8c2b99cdf5c1c4426a7d28a809159c2.zip
[media] media-entity.h: convert media_entity_cleanup to inline
This function was used in the past to free the links that were allocated by the media controller core. However, this is not needed anymore. We should likely get rid of the funcion on some function, but, for now, let's just convert into an inlined function and let the compiler to get rid of it. Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/media-entity.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
index ef2102ac0c66..849db4f6f1f3 100644
--- a/drivers/media/media-entity.c
+++ b/drivers/media/media-entity.c
@@ -246,12 +246,6 @@ media_entity_pads_init(struct media_entity *entity, u16 num_pads,
}
EXPORT_SYMBOL_GPL(media_entity_pads_init);
-void
-media_entity_cleanup(struct media_entity *entity)
-{
-}
-EXPORT_SYMBOL_GPL(media_entity_cleanup);
-
/* -----------------------------------------------------------------------------
* Graph traversal
*/