]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] media-entity.h: convert media_entity_cleanup to inline
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 11 Dec 2015 11:13:23 +0000 (09:13 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:19:04 +0000 (12:19 -0200)
commitf1fd3289e8c2b99cdf5c1c4426a7d28a809159c2
tree5224b21faa7ae7ae439f719166f4437fed04b3c6
parentcc2dd94a051c8a467c66a258391cb980c3fb3312
[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>
drivers/media/media-entity.c
include/media/media-entity.h