]> git.baikalelectronics.ru Git - 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)
commit4478f81841a82460ab30d377496a74bb81d8cad9
tree5224b21faa7ae7ae439f719166f4437fed04b3c6
parent43372ab3c62e021c578158f2ed71b268a3f1d9c6
[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