mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 03:40:04 +00:00
media: mc: drop an unused debug function
The gobj_type() function translates the media object type into a name, being useful for debugging purposes. It is currently not used. So, drop it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
a62d2f7107
commit
a057d92a36
1 changed files with 0 additions and 16 deletions
|
@ -14,22 +14,6 @@
|
|||
#include <media/media-entity.h>
|
||||
#include <media/media-device.h>
|
||||
|
||||
static inline const char *gobj_type(enum media_gobj_type type)
|
||||
{
|
||||
switch (type) {
|
||||
case MEDIA_GRAPH_ENTITY:
|
||||
return "entity";
|
||||
case MEDIA_GRAPH_PAD:
|
||||
return "pad";
|
||||
case MEDIA_GRAPH_LINK:
|
||||
return "link";
|
||||
case MEDIA_GRAPH_INTF_DEVNODE:
|
||||
return "intf-devnode";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
}
|
||||
|
||||
static inline const char *intf_type(struct media_interface *intf)
|
||||
{
|
||||
switch (intf->type) {
|
||||
|
|
Loading…
Reference in a new issue